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):