Add help modal, changelog, map visits, Dockerfile, CI

- Help modal (? button or keyboard shortcut): how-to-play in Swedish,
  flavor text, full changelog sourced from src/data/version.ts
- src/data/version.ts: versioned changelog entries, in-universe Malmö voice
- Map zone clicks: each location on the Leaflet map is now clickable.
  Unlocked cult areas give resources + log entries. Locked locations show
  lore hints. 30s cooldown per location so it's a decision, not a spam button.
- Dockerfile + nginx.conf + docker-compose.yml (port 5684)
- Gitea CI workflow (identical to 2048 — derives image from repo path, needs
  TKNTKN secret, pushes :latest and :sha tags)
- README.md with mechanics summary and docker instructions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-07-07 23:31:37 +02:00
parent f5776f269b
commit 5fcb339408
11 changed files with 420 additions and 3 deletions

40
README.md Normal file
View File

@@ -0,0 +1,40 @@
# Djupet
Lovecraftian idle cult management game set in Malmö, Sweden.
You run a small cult in a basement in Rosengård. The goal is to complete the ritual before the investigators close in. The Turning Torso is involved. The ducks at Ribersborg know more than they let on.
Inspired by Anders Fager, Kult, and Call of Cthulhu.
**Play:** [djupet.games.goonk.se](https://djupet.games.goonk.se)
## Stack
Vanilla TypeScript + Vite. No framework. Leaflet for the map.
## Dev
```
npm install
npm run dev # localhost:5681
npm run typecheck
npm run build
```
## Mechanics
- **Andakt** — passive income, spend on upgrades
- **Dread** — builds as the ritual deepens, unlocks areas and events
- **Hemlighet** — your exposure level; reaches zero and you lose
- **Kaos** — triggers chaotic events at 100, resets, repeat
- **Ritual** — reach 100 to win; unlocked via the Manuscript
Click locations on the Malmö map to visit them. There is a cooldown.
## Docker
```
docker compose up -d
```
Serves on port `5684` by default. Override via `HOST_PORT` in `.env`.