From: Marco Costalba Date: Tue, 25 Nov 2008 14:31:55 +0000 (+0100) Subject: Tweak allocated time per move X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=20a2ca366f81d61cc0043cc68f4109f6f70c2716 Tweak allocated time per move It seems better to give more time in middle game then at the end. Also Toga uses the same limit. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index a9953bb6..bc66ebad 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -436,7 +436,7 @@ void think(const Position &pos, bool infinite, bool ponder, int side_to_move, MaxSearchTime = myTime / 30 + myIncrement; AbsoluteMaxSearchTime = Max(myTime / 4, myIncrement - 100); } else { // Blitz game without increment - MaxSearchTime = myTime / 40; + MaxSearchTime = myTime / 30; AbsoluteMaxSearchTime = myTime / 8; } }