bugfix in move ordering + changed default search depth to 6

This commit is contained in:
rektdie committed 2024-06-22 14:41:56 +02:00
1 parent 8c4a157797
commit 6f8272b51b
3 files changed
+10 -10

No files matched your search

+3 -4
View File
@@ -26,8 +26,7 @@ Move ParseMove(Board &board, const char* moveString) {
it = std::find(squareCoords.begin(), squareCoords.end(), toString);
int to = std::distance(squareCoords.begin(), it);
std::string promotionString = "";
std::string promotionString = "";
// Finding the move from available moves
for (Move move : board.moveList) {
@@ -148,7 +147,7 @@ void ParseGo(Board &board, const char* command) {
depth = atoi(command);
} else { // other command parameters
depth = 5;
depth = 6;
}
// search position
@@ -220,4 +219,4 @@ void UCILoop(Board &board) {
continue;
}
}
}
}