Switch to set recommended gensfen UCI options

This commit is contained in:
Tomasz Sobczyk
2020-10-07 11:27:52 +02:00
committed by nodchip
parent 5fa28b12fa
commit d1c44dca04
2 changed files with 12 additions and 0 deletions

View File

@@ -1014,6 +1014,16 @@ namespace Learner
is >> sfen_format;
else if (token == "seed")
is >> seed;
else if (token == "set_recommended_uci_options")
{
UCI::setoption("Contempt", "0");
UCI::setoption("Skill Level", "20");
UCI::setoption("UCI_Chess960", "false");
UCI::setoption("UCI_AnalyseMode", "false");
UCI::setoption("UCI_LimitStrength", "false");
UCI::setoption("PruneAtShallowDepth", "false");
UCI::setoption("EnableTranspositionTable", "true");
}
else
cout << "Error! : Illegal token " << token << endl;
}