From 86b537e3eb80c94f100fd4223821f3766e606651 Mon Sep 17 00:00:00 2001 From: VS-Code <-> Date: Wed, 25 Feb 2026 11:11:21 +0100 Subject: [PATCH] Chess_update --- chess/chess_64.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chess/chess_64.py b/chess/chess_64.py index 0df1bd3..99ee07c 100644 --- a/chess/chess_64.py +++ b/chess/chess_64.py @@ -682,9 +682,12 @@ while board.playing: print(f"{COL.RESET}\n ---- CHESS ---- Turn: {turn}") board.print_board() move = input(text) + if move == "exit": + break if len(move) !=5 or not board.encode_and_make_move(move): text = "Move not possible new move: " continue + turn += 1