Skip to content

Commit

Permalink
Tweak allocated time per move
Browse files Browse the repository at this point in the history
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 <mcostalba@gmail.com>
  • Loading branch information
mcostalba committed Nov 25, 2008
1 parent c3ba5fb commit 20a2ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 20a2ca3

Please sign in to comment.