fixed parseMove | bench 4118297

This commit is contained in:
rektdie committed 2025-03-12 21:46:24 +01:00
1 parent 73ce2aef55
commit 41fed91fc2
3 files changed
+21 -1

No files matched your search

+2
View File
@@ -69,6 +69,7 @@ void Board::SetByFen(std::string_view fen) {
occupied = colors[White] | colors[Black];
hashKey = GetHashKey(*this);
GenerateMoves(*this, sideToMove);
GenAttackMaps(*this);
}
@@ -137,6 +138,7 @@ void Board::ListMoves() {
for (int i = 0; i < currentMoveIndex; i++) {
std::cout << i+1 << ". ";
moveList[i].PrintMove();
std::cout << std::endl;
}
}