Clean up ticTacToe logic