def generate_players(self, num_players=None):
     while query_yes_no("Would you like to add a player?"):
         player = self._build_player_from_cmd()
         self.add_player(player)
     if len(self._PLAYERS) == 0:
         print "You must specify at least one player."
         self.generate_players()
from src.main.utils.utils import query_yes_no
from src.main.managers.game.manual_game_manager import ManualGameManager

if __name__ == '__main__':
    while query_yes_no("Would you like to play a game?"):
        game_mgr = ManualGameManager()
        winner = game_mgr.play_game()
        print "Winner:"
        print winner.get_summary()