fixed illegal castling
This commit is contained in:
1 parent
2943fccce6
commit
b9792e56da
5 files changed
+52
-6
No files matched your search
@@ -21,6 +21,8 @@ public:
|
||||
|
||||
Bitboard occupied;
|
||||
|
||||
std::array<std::array<U64, 64>, 2> threatMaps;
|
||||
|
||||
std::array<Move, 218> moveList;
|
||||
int currentMoveIndex = 0;
|
||||
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void ResetMoves();
|
||||
void ListMoves();
|
||||
|
||||
U64 GetThreatMaps(bool side);
|
||||
int GetPieceType(int square);
|
||||
int GetPieceColor(int square);
|
||||
|
||||
|
||||
Reference in new issue
Block a user