Skip to content

Commit

Permalink
Remove extra } from instruction example (#1649)
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Jacquet <[email protected]>
  • Loading branch information
bjacquet and Bruno Jacquet authored Mar 23, 2024
1 parent 314d424 commit 8925745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/chess-game/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The game will have to create a message for a move to say which player moved to w
The message should use the player's nickname and the square they moved to.
The game also has to determine if the move is valid by checking if the file and rank of the square are within the ranges of the files and ranks.

If the move is valid, the message should be: `"{nickname} moved to {square}}"`
If the move is valid, the message should be: `"{nickname} moved to {square}"`
If the move is invalid, the message should be: `"{nickname} attempted to move to {square}, but that is not a valid square"`

Define the `Chess.move_message` method that takes the arguments `first_name` that holds a string of the player's first_name, `last_name` that holds a string of the player's last_name, and `square` that holds a string of the square the player moved to.
Expand Down

0 comments on commit 8925745

Please sign in to comment.