- if (!Options["UCI_AnalyseMode"])
- {
- // Dynamic draw value: try to avoid repetition draws at early midgame
- int cf = std::max(70 - RootPos.game_ply(), 0);
- DrawValue[ RootColor] = VALUE_DRAW - Value(cf);
- DrawValue[~RootColor] = VALUE_DRAW + Value(cf);
- }
- else
- DrawValue[WHITE] = DrawValue[BLACK] = VALUE_DRAW;
-