cleaned up movegen

This commit is contained in:
rektdie committed 2024-05-13 18:04:36 +02:00
1 parent d89956a2fb
commit 119a87f227
8 files changed
+24 -637

No files matched your search

-3
View File
@@ -183,7 +183,6 @@ void Board::SetByFen(const char* fen) {
}
occupied = (colors[White] | colors[Black]);
GenAttackMaps(*this);
}
void Board::PrintBoard() {
@@ -411,6 +410,4 @@ void Board::MakeMove(Move move) {
if (halfMoves & 2 == 0) fullMoves++;
sideToMove = !attackerColor;
enPassantTarget = newEpTarget;
GenAttackMaps(*this);
}