diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 19:03:20 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 19:03:20 +0200 |
| commit | 40e242dc5450e1661c817b0bad8f9748388c278a (patch) | |
| tree | 569053925f92516b1ee52a7e21ed9e1c75e1e3a0 /src/board.hpp | |
| parent | b2dbf812cb9e6da5f69a2b74c24c97d09fa7a684 (diff) | |
removing repl and unsuded featuares
Diffstat (limited to 'src/board.hpp')
| -rw-r--r-- | src/board.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/board.hpp b/src/board.hpp index 2c3bba9..993a66d 100644 --- a/src/board.hpp +++ b/src/board.hpp @@ -4,6 +4,7 @@ #include <cstdint> #include <string> #include <unordered_map> + enum PieceType { NONE, PAWN, @@ -21,7 +22,6 @@ enum GameState { STALEMATE, DRAW, }; -std::string toChar(PieceType type, bool white); struct Piece { bool color = 0; @@ -77,10 +77,8 @@ struct UndoMove { uint64_t zobristKey; GameState oldState; }; -void printBoard(Game *b); Piece createPiece(PieceType type, bool color, bool moved = false); -// void PlayMove(Move move, Game *b); int PositionToIndex(Position i); UndoMove MakeMove(Move move, Game *g); void UnMakeMove(UndoMove undo, Game *g); |
