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