diff options
Diffstat (limited to 'src/board.hpp')
| -rw-r--r-- | src/board.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/board.hpp b/src/board.hpp index e782be5..5e4e777 100644 --- a/src/board.hpp +++ b/src/board.hpp @@ -35,7 +35,7 @@ struct Position { bool operator==(const Position &) const = default; }; -struct Board { +struct Game { Piece pieces[64]; bool turn; // 1 white; 0 black std::string castle; @@ -52,9 +52,9 @@ struct Move { bool operator==(const Move &) const = default; }; -void printBoard(Board *b); +void printBoard(Game *b); Piece createPiece(PieceType type, bool color, bool moved = false); -void PlayMove(Move move, Board *b); +void PlayMove(Move move, Game *b); int PositionToIndex(Position i); #endif /* SRC_BOARD_H_ */ |
