From f01fd7ed5e3d04cb709306cf0f85da89947a3a49 Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Wed, 14 Sep 2022 14:38:59 +0100 Subject: [PATCH] fix: remove incrementing nbr_of_games --- subjects/borrow_box/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/borrow_box/README.md b/subjects/borrow_box/README.md index 345d7705..497c9aa9 100644 --- a/subjects/borrow_box/README.md +++ b/subjects/borrow_box/README.md @@ -10,7 +10,7 @@ You will implement some **CRUD** functionality for a game session. You will need - `read_winner`: which returns a tuple with the name and score of the player who is currently winning. In the case that no player is winning, it should return the same tuple with the string `"Same score! tied"` and the tied score. -- `update_score`: which receives the name of a player, and increments their score. The `nbr_of_games` should also be incremented. This function should **do nothing** if the the game session is already finished. +- `update_score`: which receives the name of a player, and increments their score. This function should **do nothing** if the the game session is already finished. - `delete`: which takes ownership of the boxed game session and returns a string: `"game deleted: id -> 0"`.