Chess_update
This commit is contained in:
@@ -682,10 +682,13 @@ 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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user