feat: add howtoplay and about routes with placeholder templates

This commit is contained in:
Mathew Sir Guest the best
2026-05-06 22:46:49 -06:00
parent 7c3a8f22cf
commit 2104027c20
5 changed files with 32 additions and 0 deletions
+4
View File
@@ -7,6 +7,8 @@ import tornado.web
from db import get_engine, get_session_factory, init_db
from handlers.main import MainHandler
from handlers.game import GameHandler
from handlers.howtoplay import HowToPlayHandler
from handlers.about import AboutHandler
from handlers.api import (
CategoriesHandler,
NewGameHandler,
@@ -22,6 +24,8 @@ def make_app(session_factory=None):
[
(r"/", MainHandler),
(r"/game", GameHandler),
(r"/howtoplay", HowToPlayHandler),
(r"/about", AboutHandler),
(r"/api/categories", CategoriesHandler),
(r"/api/game/new", NewGameHandler),
(r"/api/game/([^/]+)", GameStateHandler),