1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-13 04:29:15 +00:00

Merge branch 'master' of github.com:nodchip/Stockfish

This commit is contained in:
nodchip 2020-07-13 22:25:56 +09:00
commit 7f4b72cdfd

View file

@ -18,7 +18,7 @@ def parse_result(result_str:str, board:chess.Board) -> int:
if board.turn == chess.WHITE: if board.turn == chess.WHITE:
return 1 return 1
else: else:
return 0 return -1
else: else:
print("illeagal result", result_str) print("illeagal result", result_str)
raise ValueError raise ValueError