add blue X and red O translate comments to english
This commit is contained in:
parent
b3ed5a748f
commit
e884079c60
3
main.py
3
main.py
@ -101,7 +101,8 @@ def play_now():
|
|||||||
continue
|
continue
|
||||||
sel_field = int(sel_field)
|
sel_field = int(sel_field)
|
||||||
if sel_field >= 1 and sel_field <= 9:
|
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")
|
print("Spielfeld wurde schon ausgewählt!\n")
|
||||||
else:
|
else:
|
||||||
return sel_field
|
return sel_field
|
||||||
|
Loading…
x
Reference in New Issue
Block a user