1
from django.urls import path
2
import games.views as games
7
path('lobby/', games.create_lobby, name='lobby'),
8
path('join_lobby/', games.join_lobby, name='join_lobby'),
9
path('join_lobby_ajax/', games.join_lobby_ajax, name='join_lobby_ajax'),
10
path('change_game_mode/', games.change_game_mode, name='change_game_mode'),
11
path('queue/', games.queue, name='queue'),
12
path('quit_lobby/', games.quit_lobby, name='quit_lobby'),
13
path('cancel_queue/', games.cancel_queue, name='cancel_queue'),
14
path('create_game/', games.create_game, name='create_game'),
15
path('game/', games.game, name='game'),
16
path('start_game/', games.start_game, name='start_game'),
17
path('check_answer/', games.check_answer, name='check_answer'),
18
path('results/<int:game_id>/', games.results, name='results'),