fixed illegal castling

This commit is contained in:
rektdie committed 2025-03-24 18:21:07 +01:00
1 parent 2943fccce6
commit b9792e56da
5 files changed
+52 -6

No files matched your search

+3
View File
@@ -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);