From cad9b8f816f840237a49e86e9b0cb89b59246ede Mon Sep 17 00:00:00 2001 From: olliehcrook <53153427+olliehcrook@users.noreply.github.com> Date: Wed, 3 Mar 2021 17:51:36 +0000 Subject: [PATCH] Debug tictactoe2.py Fixed board being rendered twice bug when current_player = OccupiedBy.PLAYER. TL;DR unnecessary print statement --- 89 Tic-Tac-Toe/python/tictactoe2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/89 Tic-Tac-Toe/python/tictactoe2.py b/89 Tic-Tac-Toe/python/tictactoe2.py index 95493657..63a68d0f 100755 --- a/89 Tic-Tac-Toe/python/tictactoe2.py +++ b/89 Tic-Tac-Toe/python/tictactoe2.py @@ -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...")