txlyre před 2 měsíci
rodič
revize
80ac83828a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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):