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()