From 51d27e1ab9058c9e0fafb399e22edf7b38470510 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Jul 2026 20:14:54 +0200 Subject: adding uci --- src/board.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/board.hpp') 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_ */ -- cgit v1.2.3