From 3bec014a331152b111b4eecb4864ba26d2ab9ae3 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 10 Jan 2023 17:18:40 +0100 Subject: Update chessarbiter and finish the implementation of pawns promotions --- src/game_tab/Game.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game_tab/Game.hpp') diff --git a/src/game_tab/Game.hpp b/src/game_tab/Game.hpp index 2fa9bcd..ddf5cf6 100644 --- a/src/game_tab/Game.hpp +++ b/src/game_tab/Game.hpp @@ -32,6 +32,7 @@ public: bool Play(std::string move,char promotion='q'); bool IsBlackToPlay(); bool IsCheckmate(bool forBlack); + bool IsPromotionMove(std::string absolute_move); void Previous(); void Next(); void DeleteMove(HalfMove *m); -- cgit v1.2.3