This commit is contained in:
2024-04-01 01:33:47 +02:00
parent d898a9b691
commit edb7409e7f
2 changed files with 66 additions and 0 deletions

View File

@@ -1,5 +1,15 @@
enum chess_piece {
EMPTY = 0,
KING = 1,
QUEEN = 2,
ROOK = 3,
BISHOP = 4,
KNIGHT = 5,
PAWN = 6,
PIECE_COUNT,
};
static bool board_equals(