From 8f02054674b582f575371702cb1ec15359b5bce5 Mon Sep 17 00:00:00 2001 From: Stephen Enders Date: Thu, 28 Jan 2021 21:14:33 -0500 Subject: Score on final position Will score and remove the piece upon moving into the final pos --- src/helper.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/helper.hpp') diff --git a/src/helper.hpp b/src/helper.hpp index 41383d1..03d60fb 100644 --- a/src/helper.hpp +++ b/src/helper.hpp @@ -131,4 +131,7 @@ canPlace(struct piece_t* piece, std::shared_ptr> opponentPieces, int& takenPieceId); +void +clearPiece(std::shared_ptr> pieces, struct piece_t* piece); + #endif -- cgit v1.2.3-54-g00ecf