Skip to content

Commit

Permalink
Update timecontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticXWolf committed Mar 21, 2021
1 parent 27c281e commit 5ec324d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/axwchessbot/utils/uci.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ def set_depth_by_timing(self, go_args: GoCommandArgs):
* float(go_args.time[self.board.turn])
/ 1000.0
/ (float(go_args.movestogo) + 2.0)
) + int(float(go_args.inc[self.board.turn]) / 1000.0)
) + int(float(go_args.inc[self.board.turn]) / 1000.0 / 2.0)

self.timeout = min(suggested_time, 30)

0 comments on commit 5ec324d

Please sign in to comment.