def do_resume(self, arg): self.game = oxo_logic.restore_game() oxo_ui.play_game(self.game)
def do_resume(self, arg): print("Restoring previous game") self.game = oxo_logic.restore_game() oxo_ui.play_game(self.game)
def do_new(self, arg): self.game = oxo_logic.new_game() oxo_ui.play_game(self.game)
def do_new(self, arg): print("Starting new game") self.game = oxo_logic.new_game() oxo_ui.play_game(self.game)