mirror of
https://github.com/sockspls/badfish
synced 2025-07-12 03:59:15 +00:00
Merge branch 'master' of github.com:nodchip/Stockfish
This commit is contained in:
commit
7f4b72cdfd
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def parse_result(result_str:str, board:chess.Board) -> int:
|
|||
if board.turn == chess.WHITE:
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
return -1
|
||||
else:
|
||||
print("illeagal result", result_str)
|
||||
raise ValueError
|
||||
|
|
Loading…
Add table
Reference in a new issue