From e884079c605c3516631a3c221d909c29474b127a Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 24 Jul 2024 17:19:26 +0200 Subject: [PATCH] add blue X and red O translate comments to english --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index a350949..301af30 100755 --- a/main.py +++ b/main.py @@ -101,7 +101,8 @@ def play_now(): continue sel_field = int(sel_field) if sel_field >= 1 and sel_field <= 9: - if (field[sel_field] == '\x1b[1;34m' "X" '\x1b[1;0m' or field[sel_field] == '\x1b[1;31m' "0" '\x1b[1;0m'): + if (field[sel_field] == '\x1b[1;34m' "X" '\x1b[1;0m' or + field[sel_field] == '\x1b[1;31m' "0" '\x1b[1;0m'): print("Spielfeld wurde schon ausgewählt!\n") else: return sel_field