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.
Warre (hal-developer) 1e7772ad29 fix(db): grant app user permissions on players and games tables 1 kuukausi sitten
migrations fix(db): grant app user permissions on players and games tables 1 kuukausi sitten
.gitignore feat(txt-game): initial module scaffold 1 kuukausi sitten
Dockerfile feat(scores): persist scores in Postgres, add scoreboard UI 1 kuukausi sitten
README.md feat(txt-game): initial module scaffold 1 kuukausi sitten
docker-compose.yml feat(scores): persist scores in Postgres, add scoreboard UI 1 kuukausi sitten
module.yml feat(db): provision Postgres and add score schema migration 1 kuukausi sitten
package-lock.json feat(scores): persist scores in Postgres, add scoreboard UI 1 kuukausi sitten
package.json feat(scores): persist scores in Postgres, add scoreboard UI 1 kuukausi sitten
server.mjs feat(scores): persist scores in Postgres, add scoreboard UI 1 kuukausi sitten

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.