Hello everyone!
I was going through the Elm track with a friend and we came across this section:
roll(pins : int)
is called each time the player rolls a ball. The argument is the number of pins knocked down.score() : int
is called only at the very end of the game. It returns the total score for that game.
This confused us as there is code, but it’s not using Elm syntax. Knowing how Exercism exercises are built we quickly realised why this didn’t use Elm syntax, but it seems likely that someone who is less familiar with Exercism and Elm could be misled by this.
I think it would be good to change this to not have any specific language’s syntax in it. Perhaps something like this:
roll
is called each time the player rolls a ball. The argument is the number of pins knocked down.score
is called only at the very end of the game. It returns the total score for that game.
How does that sound? I’m happy to contribute a pull request.
Cheers,
Louis