diff options
Diffstat (limited to 'src/board/board.hpp')
| -rw-r--r-- | src/board/board.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/board/board.hpp b/src/board/board.hpp index 7a9779a..5d0d913 100644 --- a/src/board/board.hpp +++ b/src/board/board.hpp @@ -27,8 +27,8 @@ struct Piece { }; struct Position { - uint8_t rank = 0; - uint8_t file = 0; + int rank = 0; + int file = 0; bool operator==(const Position &) const = default; }; @@ -58,8 +58,8 @@ struct Game { bool whiteCastleQueen = false; bool blackCastleKing = false; bool blackCastleQueen = false; - uint8_t halfMoveClock = 0; - uint16_t MoveClock = 0; + int halfMoveClock = 0; + int MoveClock = 0; Position enPassant; bool canEnpassant = false; GameState state = TURN; |
