Simplified making and unmaking moves with helper functions + fixed minor bugs

This commit is contained in:
rektdie committed 2024-04-01 02:37:32 +02:00
1 parent 8535042c04
commit e0444257b3
2 files changed
+50 -72

No files matched your search

+4 -1
View File
@@ -40,7 +40,10 @@ public:
bool InCheck(bool side);
void SetPiece(int piece, int square, bool color);
void RemovePiece(int piece, int square, bool color);
void Promote(int square, int pieceType, int color, bool isCapture);
void DoMove(Move move);
void MakeMove(Move move);
void UnmakeMove();
};