from django.urls import path from .views import ( AttemptStartView, AttemptSubmitView, ContestListView, LeaderboardView, MatchmakingView, MatchStateView, MathGameCatalogView, MathGameHistoryView, MathGameStartView, MathGameSubmitView, SudokuHintView, ) urlpatterns = [ path("", ContestListView.as_view(), name="contest-list"), path("/start/", AttemptStartView.as_view(), name="attempt-start"), path("/matchmaking/", MatchmakingView.as_view(), name="matchmaking"), path("/leaderboard/", LeaderboardView.as_view(), name="leaderboard"), path("attempts//submit/", AttemptSubmitView.as_view(), name="attempt-submit"), path("matches//", MatchStateView.as_view(), name="match-state"), path("games/", MathGameCatalogView.as_view(), name="math-game-catalog"), path("games/history/", MathGameHistoryView.as_view(), name="math-game-history"), path("games//start/", MathGameStartView.as_view(), name="math-game-start"), path( "games/attempts//submit/", MathGameSubmitView.as_view(), name="math-game-submit", ), path( "games/attempts//hint/", SudokuHintView.as_view(), name="sudoku-hint", ), ]