settings: Change default SkillLevel from 20 to 1
This commit is contained in:
parent
f97afe3ac6
commit
85b65d8db4
|
@ -180,7 +180,7 @@ public:
|
|||
protected:
|
||||
|
||||
private:
|
||||
int skillLevel { 20 };
|
||||
int skillLevel { 1 };
|
||||
int moveTime { 1 };
|
||||
bool aiIsLazy { false };
|
||||
bool isAutoRestart { false };
|
||||
|
|
|
@ -165,7 +165,7 @@ void init(OptionsMap &o)
|
|||
o["Clear Hash"] << Option(on_clear_hash);
|
||||
o["Ponder"] << Option(false);
|
||||
o["MultiPV"] << Option(1, 1, 500);
|
||||
o["SkillLevel"] << Option(20, 0, 20, on_skill_level);
|
||||
o["SkillLevel"] << Option(1, 0, 20, on_skill_level);
|
||||
o["MoveTime"] << Option(1, 0, 60, on_move_time);
|
||||
o["AiIsLazy"] << Option(false, on_aiIsLazy);
|
||||
o["Move Overhead"] << Option(10, 0, 5000);
|
||||
|
|
|
@ -27,7 +27,7 @@ class Config {
|
|||
static bool toneEnabled = true;
|
||||
static bool aiMovesFirst = false;
|
||||
static bool aiIsLazy = false;
|
||||
static int skillLevel = 20;
|
||||
static int skillLevel = 1;
|
||||
static int moveTime = 1;
|
||||
static bool isAutoRestart = false;
|
||||
static bool isAutoChangeFirstMove = false;
|
||||
|
@ -73,7 +73,7 @@ class Config {
|
|||
Config.toneEnabled = settings['ToneEnabled'] ?? true;
|
||||
Config.aiMovesFirst = settings['AiMovesFirst'] ?? false;
|
||||
Config.aiIsLazy = settings['AiIsLazy'] ?? false;
|
||||
Config.skillLevel = settings['SkillLevel'] ?? 20;
|
||||
Config.skillLevel = settings['SkillLevel'] ?? 1;
|
||||
Config.moveTime = settings['MoveTime'] ?? 1;
|
||||
Config.isAutoRestart = settings['IsAutoRestart'] ?? false;
|
||||
Config.isAutoChangeFirstMove = settings['IsAutoChangeFirstMove'] ?? false;
|
||||
|
|
|
@ -133,7 +133,7 @@ void Game::loadSettings()
|
|||
setFixWindowSize(empty ? false : settings->value("Options/FixWindowSize").toBool());
|
||||
setSound(empty ? true : settings->value("Options/Sound").toBool());
|
||||
setAnimation(empty ? true : settings->value("Options/Animation").toBool());
|
||||
setSkillLevel(empty ? 20 : settings->value("Options/SkillLevel").toInt());
|
||||
setSkillLevel(empty ? 1 : settings->value("Options/SkillLevel").toInt());
|
||||
setMoveTime(empty ? 1 : settings->value("Options/MoveTime").toInt());
|
||||
setAiIsLazy(empty ? false : settings->value("Options/AiIsLazy").toBool());
|
||||
setShuffling(empty ? true : settings->value("Options/Shuffling").toBool());
|
||||
|
|
Loading…
Reference in New Issue