def start_game(client):
    client.update_game()
    client.update_player_info()
    client.hand.sort(key=lambda x: x['Value'])
    gs = game_state.GameState(client.players_connected, client.hand,
                              int(client.position) - 1)
    return gs
示例#2
0
def run_bot():
    game_state = game_state.GameState()
    ## do the things here
    pass