Skip to content

Commit

Permalink
Update instructions.md to match function signatures in exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmcgimpsey authored Oct 3, 2023
1 parent fd1a7b5 commit 3769f9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/practice/bowling/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ For a tenth frame of XXX (three strikes), the total value is 30.
Write code to keep track of the score of a game of bowling.
It should support two operations:

- `roll(pins : int)` is called each time the player rolls a ball.
- `roll(game: Game, knocked_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.
- `score(game: Game)` is called only at the very end of the game.
It returns the total score for that game, wrapped in a `Result`.

0 comments on commit 3769f9e

Please sign in to comment.