Skip to content

Commit

Permalink
chore: fix an oopsie with the chess color string representations
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed Dec 26, 2024
1 parent 39326c1 commit a268f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games/src/chess/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ game_details!(
Files: A, B, C, D, E, F, G, H;
Ranks: 1 First, 2 Second, 3 Third, 4 Fourth, 5 Fifth, 6 Sixth, 7 Seventh, 8 Eighth;
Pieces: Pawn "p", Knight "n", Bishop "b", Rook "r", Queen "q", King "k";;
Colors: White "x" ("P", "N", "B", "R", "Q", "K"),
Black "o" ("p", "n", "b", "r", "q", "k");
Colors: White "w" ("P", "N", "B", "R", "Q", "K"),
Black "b" ("p", "n", "b", "r", "q", "k");
);

impl Square {
Expand Down

0 comments on commit a268f6a

Please sign in to comment.