From 0d41c0b9d056f2baad866c6bd98d92dd14e83e4c Mon Sep 17 00:00:00 2001 From: Yuriy Kotlyarov Date: Mon, 17 Nov 2025 11:29:45 +0300 Subject: [PATCH] Update instructions.md fix: Typo in the var name and wrong addition result --- exercises/concept/high-score-board/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/high-score-board/.docs/instructions.md b/exercises/concept/high-score-board/.docs/instructions.md index 141bee25..43f1ae5a 100644 --- a/exercises/concept/high-score-board/.docs/instructions.md +++ b/exercises/concept/high-score-board/.docs/instructions.md @@ -72,8 +72,8 @@ To update a players score by adding to the previous score, define `updateScore`, ```swift var highScores = ["Dave Thomas": 0, "José Valim": 486_373] addPlayer(&highScores, "Freyja Ćirić", 12_771_008) -updateScore(&highscores, "Freyja Ćirić", 73) -// Returns ["Dave Thomas": 0, "José Valim": 486_373, "Freyja Ćirić": 73] +updateScore(&highScores, "Freyja Ćirić", 73) +// Returns ["Dave Thomas": 0, "José Valim": 486_373, "Freyja Ćirić": 12_771_081] ``` ## 6. Get a list of players with scores ordered by player name