Example #1
0
def main():
    """ Main entry point """

    SESSION = {
        'game': 'FIVE CARD DRAW',
        'level': 1,
        'seats': 6,
        'rounds': 0,
        'table': lobby.get_game(DEFAULT_TABLE),
        'hero': player.load_player(HERO),
    }

    while True:
        main_menu(SESSION)
        process_user_choice()
Example #2
0
def load_player():
    name = pick_name()
    global HERO
    HERO = player.load_player(name)
    pause()