Add whack a pumpkin and best score, move games to game_info and setup_game, make a modular basegame template and build upon that, fix game settings not using the current game specific settings

This commit is contained in:
csd4ni3l
2025-11-02 21:23:09 +01:00
parent 7094603bd7
commit 0904eede95
13 changed files with 245 additions and 102 deletions
+5
View File
@@ -261,4 +261,9 @@ def pumpkin_memory():
def pumpkin_roll():
return render_template("pumpkin_roll.jinja2")
@app.route("/whack_a_pumpkin")
@login_required
def whack_a_pumpkin():
return render_template("whack_a_pumpkin.jinja2")
app.run(host=os.getenv("HOST", "0.0.0.0"), port=int(os.getenv("PORT", 8080)), debug=os.getenv("DEBUG_MODE", False).lower() == "true")