forked from oisdk/team-software-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.py
23 lines (23 loc) · 1.21 KB
/
pages.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pages = {
'example': 'backend.example:example',
'request_dice_roll': 'backend.process_client_json:request_dice_roll',
'receive_client_username':
'backend.process_client_json:receive_client_username',
'request_games_list': 'backend.request_game_list:request_game_list',
'allocate_user_id': 'backend.allocate_user_id:request_user_id',
'allocate_game_id': 'backend.allocate_game_id:request_game_id',
'get_game_details': 'backend.request_game_details:request_game_details',
'game_event_source': 'backend.events:start_sse_stream',
'roll_dice': 'backend.roll_die:player_roll_dice',
'start-game': 'backend.start_game:start_game',
'game_event_source': 'backend.events:start_sse_stream',
'join_game': 'backend.join_game:join_game',
'increment_turn': 'backend.increment_turn:increment_turn',
'request_players': 'backend.get_list_of_players:request_list_of_players',
'property_state': 'backend.property_state:property_state',
'charge_rent': 'backend.charge_rent:charge_rent',
'leave_jail': 'backend.jail:pay_to_leave_jail',
'go_to_jail': 'backend.jail:go_to_jail',
'buy_house': 'backend.buy_house:add_house',
'buy_property': 'backend.properties:buy_property',
}