Revert "encapsulated positionIndex and moved isdraw to board class"

This reverts commit aa0d34eb8e.
This commit is contained in:
rektdie committed 2025-04-12 10:59:04 +02:00
1 parent 3275cee01e
commit ce01c7756b
7 files changed
+41 -35

No files matched your search

+3
View File
@@ -125,6 +125,7 @@ void UCILoop(Board &board) {
// parse UCI "position" command
if (input.find("position") != std::string::npos) {
ParsePosition(board, input);
positionIndex = 0;
continue;
}
@@ -138,6 +139,8 @@ void UCILoop(Board &board) {
ctx.killerMoves = {};
ctx.history.Clear();
positionIndex = 0;
continue;
}