import flask from truthseeker.logic import game_logic routes_ui = flask.Blueprint("ui", __name__) @routes_ui.route("/") def index(): return flask.render_template("index.html") @routes_ui.route("/privacy") def privacy(): return flask.render_template("privacy.html") @routes_ui.route("/licenses") def licenses(): return flask.render_template("licenses.html") @routes_ui.route("/legal") def legal(): return flask.render_template("legal.html") @routes_ui.route("/lobby/") def lobby(game_id): # rendered by the javascript client-side return flask.render_template("lobby.html") @routes_ui.route("/solo") def solo(): return flask.render_template("game.html") @routes_ui.route("/multi") def multi(): return flask.render_template("game.html")