fixed checkmate and stalemate detection

This commit is contained in:
rektdie committed 2025-03-24 20:01:32 +01:00
1 parent 3090dbac8b
commit d4c7263b93
5 files changed
+24 -27

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ static void ParsePosition(Board &board, std::string_view command) {
std::vector<std::string> moves = UTILS::split(command.substr(movesIndex + 6, command.length() - (movesIndex + 5)), ' ');
for (std::string_view move : moves) {
board.MakeMove(UTILS::parseMove(board, move));
board.MakeMove(UTILS::parseMove(board, move), false);
}
}