introduced basic InCheck and IsLegal
This commit is contained in:
1 parent
d0ba47c956
commit
2943fccce6
4 files changed
+25
-9
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ public:
|
||||
int GetPieceColor(int square);
|
||||
|
||||
bool InCheck();
|
||||
bool IsLegal(Move &move);
|
||||
bool IsLegal(Move move);
|
||||
|
||||
void SetPiece(int piece, int square, bool color);
|
||||
void RemovePiece(int piece, int square, bool color);
|
||||
|
||||
Reference in new issue
Block a user