Small text-based online game — a HAL mesh module
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jschoubben 8c3c95916d Merge pull request 'feat(scores): persist scores in Postgres, add scoreboard UI' (#4) from feat/score-persistence into main 1 mese fa
migrations feat(db): provision Postgres and add score schema migration 1 mese fa
.gitignore feat(txt-game): initial module scaffold 1 mese fa
Dockerfile feat(scores): persist scores in Postgres, add scoreboard UI 1 mese fa
README.md feat(txt-game): initial module scaffold 1 mese fa
docker-compose.yml feat(scores): persist scores in Postgres, add scoreboard UI 1 mese fa
module.yml feat(db): provision Postgres and add score schema migration 1 mese fa
package-lock.json feat(scores): persist scores in Postgres, add scoreboard UI 1 mese fa
package.json feat(scores): persist scores in Postgres, add scoreboard UI 1 mese fa
server.mjs feat(scores): persist scores in Postgres, add scoreboard UI 1 mese fa

README.md

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.