txlyre 2 달 전
부모
커밋
6dd28bf40c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      chess0.py

+ 1 - 1
chess0.py

@@ -104,7 +104,7 @@ class ChessSession:
             except ValueError:
                 raise IllegalMove(moves)
 
-            if moves < 1 or moves > 959:
+            if moves < 0 or moves > 959:
                 raise IllegalMove(moves)
 
             self.board.set_chess960_pos(moves)