예제 #1
0
def play():
  game = TicTacToeGame()

  while not game.isgameover:
    game.play()
    game.print()
    game.is_over()

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