def play():
    game = TicTacToeGame()
    while not game.is_over():
        game.play()
        game.print()

    game.print_result()
예제 #2
0
def play():
  game = TicTacToeGame()
  termino = False
  while not termino:
    game.play() 
    termino = game.is_over()
    game.print()

  game.print_result()
예제 #3
0
def play():

    game = TicTacToeGame()

    while not game.is_game_over:
        game.play()