Skip to content

Commit

Permalink
Update chess_game.rb
Browse files Browse the repository at this point in the history
The method 'nick_name' is not consistent with the instructions' version (nickname), and since 'nickname' is a whole word, it makes sense without the underscore.
  • Loading branch information
Horlamedhey authored Jan 12, 2025
1 parent 1268fbd commit 972aaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/chess-game/chess_game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def self.valid_square?(rank, file)
raise "Please implement the Chess.valid_square? method"
end

def self.nick_name(first_name, last_name)
def self.nickname(first_name, last_name)
raise "Please implement the Chess.nick_name method"
end

Expand Down

0 comments on commit 972aaf3

Please sign in to comment.