diff options
author | Stephen Enders <smenders@gmail.com> | 2021-01-28 21:14:33 -0500 |
---|---|---|
committer | Stephen Enders <smenders@gmail.com> | 2021-01-28 21:14:33 -0500 |
commit | 8f02054674b582f575371702cb1ec15359b5bce5 (patch) | |
tree | 5d6ecb75437e62d5d28629ad7ac9328ea1e4bb9d /src/helper.hpp | |
parent | 6efca6678e777edacfc0bae4bf9f201d22a73860 (diff) |
Score on final position
Will score and remove the piece upon moving into the final pos
Diffstat (limited to 'src/helper.hpp')
-rw-r--r-- | src/helper.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::vector<struct piece_t>> opponentPieces, int& takenPieceId); +void +clearPiece(std::shared_ptr<std::vector<struct piece_t>> pieces, struct piece_t* piece); + #endif |