diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-16 15:18:26 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-16 15:18:26 +0100 |
| commit | 0584edb107467a294f17a50d063e667f22f4a47b (patch) | |
| tree | 67e95c79a1fc71562dcf9d65e9f614614154ed74 /src/Board.hpp | |
| parent | 94c2565647d84f31d5ccac0d88717aef29d4a9a1 (diff) | |
Enable to retreive SAN move
Diffstat (limited to 'src/Board.hpp')
| -rw-r--r-- | src/Board.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Board.hpp b/src/Board.hpp index aee2e10..a3981bc 100644 --- a/src/Board.hpp +++ b/src/Board.hpp @@ -22,6 +22,8 @@ public: std::vector<Piece> GetPlayerPieces(bool); /// @brief Count the number of a specific piece on the board short CountPiece(char); + /// @brief Return true if at most 1 similar piece can go to move_dst + bool IsPieceMoveUnique(char piece, std::string move_dst); /// @brief Get the location of the first king found on the board std::string GetKingLocation(bool); /// @brief Check if a move is technically possible (does not means it is |
