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

+ 1 - 1
chess0.py

@@ -66,7 +66,7 @@ class ChessSession:
         self.board.reset()
 
         moves = moves.strip().split(" ")
-        if len(moves) > 2048 or len(moves) % 2 != 0:
+        if len(moves) > 600 or len(moves) % 2 != 0:
             raise IllegalMove
 
         for i, move in zip(range(len(moves)), moves):