Exemplo n.º 1
0
def create_game(gamemode, name):
    uuid = str(uuid4())
    reactive.create_game(name, uuid, gamemode)
    return get_game(uuid)
Exemplo n.º 2
0
def sample():
    reactive.create_game("Bob", '7d59d944-b051-4b9c-bf9f-a3fd4c1c541a', "assassins")
    for user in reactive.load_all_users():
        reactive.join_game(user.name, '7d59d944-b051-4b9c-bf9f-a3fd4c1c541a')