cleaned up movegen
This commit is contained in:
1 parent
d89956a2fb
commit
119a87f227
8 files changed
+24
-637
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user