Example #1
0
def join_game(username, uuid):
    if reactive.join_game(username, uuid):
        return get_game(uuid)
    return ""
Example #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')