From 3769f9e3a2672cdbb50ddbcbb935911337079c90 Mon Sep 17 00:00:00 2001 From: Gavin McGimpsey Date: Mon, 2 Oct 2023 22:12:42 -0700 Subject: [PATCH] Update instructions.md to match function signatures in exercise --- exercises/practice/bowling/.docs/instructions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/practice/bowling/.docs/instructions.md b/exercises/practice/bowling/.docs/instructions.md index 48a2fedcf..324d3d856 100644 --- a/exercises/practice/bowling/.docs/instructions.md +++ b/exercises/practice/bowling/.docs/instructions.md @@ -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`.