encapsulated positionIndex and moved isdraw to board class

This commit is contained in:
rektdie committed 2025-04-11 06:19:17 +02:00
1 parent dd6f0b94f5
commit aa0d34eb8e
7 files changed
+35 -41

No files matched your search

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