Skip to content

Commit

Permalink
More conservative move time allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Plan B committed Nov 27, 2018
1 parent 9d39832 commit c7cfcff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ void parseGo(Board& b, SearchInfo& si, std::string input) {
depth = MAX_PLY;
}

double total = time + increment * 0.9;
if (timeLeft && total > timeLeft - 100) {
double total = time + increment * 0.8;
if (timeLeft && total > timeLeft - 1000) {
total = std::min(timeLeft * 0.75, total * 0.75);
}
iterativeDeepening(b, si, total);
Expand Down

0 comments on commit c7cfcff

Please sign in to comment.