mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Debug tictactoe2.py
Fixed board being rendered twice bug when current_player = OccupiedBy.PLAYER. TL;DR unnecessary print statement
This commit is contained in:
@@ -205,7 +205,6 @@ def play():
|
||||
print("THANKS FOR THE GAME.")
|
||||
break
|
||||
board[move - 1] = current_player
|
||||
print(render_board(board, space_mapping))
|
||||
|
||||
elif current_player is OccupiedBy.COMPUTER:
|
||||
print("\nTHE COMPUTER MOVES TO...")
|
||||
|
||||
Reference in New Issue
Block a user