From 0584edb107467a294f17a50d063e667f22f4a47b Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 16 Feb 2022 15:18:26 +0100 Subject: Enable to retreive SAN move --- src/Board.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Board.hpp') 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 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 -- cgit v1.2.3