aboutsummaryrefslogtreecommitdiff
path: root/src/board.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-27 20:14:54 +0200
committerAdam <adammegarules1@gmail.com>2026-07-27 20:14:54 +0200
commit51d27e1ab9058c9e0fafb399e22edf7b38470510 (patch)
treef0528298123fcb33eb426a5aa099afd2a8d00a90 /src/board.hpp
parentf1ded0290393709d437c6e149861ceb91d241c64 (diff)
adding uci
Diffstat (limited to 'src/board.hpp')
-rw-r--r--src/board.hpp6
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_ */