def round_robin_menu(self): """Create a new round-robin tournament.""" self.players = ask_players() self.tournament = RoundRobinTournament( self.create_game, self.play_game ) self.start()
def single_elim_menu(self): """Create a new single elimination tournament.""" self.players = ask_players() self.tournament = SingleEliminiationTournament( self.create_game, self.play_game ) self.start()
def local_game_menu(self): """Create a new local game between humans and/or AIs.""" self.players = ask_players(2) self.tournament = RoundRobinTournament( self.create_game, self.play_game ) self.start()
def local_game_menu(self): """Create a new local game between humans and/or AIs.""" self.players = ask_players(2) self.tournament = SingleEliminiationTournament(self.create_game, self.play_game) self.start()