feat(txt-game): initial module scaffold

Number guessing game (1-100, 7 attempts) as a HAL custom-app module.
Serves HTML form UI with per-session state via cookie, no npm deps.
Traefik labels for txt.${DOMAIN} on websecure with letsencrypt TLS.
This commit is contained in:
HAL
2026-07-08 17:27:27 +02:00
commit 17adb00cc3
6 changed files with 304 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# txt-game
A small text-based number guessing game running as a HAL mesh module. The server picks a random number between 1 and 100, and you have 7 attempts to guess it — after each guess you receive a directional hint (too high / too low) and a temperature clue (cold → warm → hot) to help you zero in. The game runs entirely in the browser via HTML forms: no JavaScript required on the client side. Each player session is tracked by a lightweight cookie so multiple people can play concurrently without interference.