Fix black play time calculation
This commit is contained in:
parent
1f7fa0c988
commit
67f7a94166
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ if __name__ == '__main__':
|
|||
start_time = time.time()
|
||||
if game._nextPlayer == 1:
|
||||
move = bplayer.get_move(game)
|
||||
black_time = time.time() - start_time
|
||||
black_time += time.time() - start_time
|
||||
else:
|
||||
move = wplayer.get_move(game)
|
||||
white_time += time.time() - start_time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue