diff options
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 |
