b7c052a11f8d9007af20902a301417c062535cd7
All checks were successful
Docker / build-and-push (push) Successful in 42s
- The log view only re-rendered when state.log.length changed, but the log is capped at 40 entries — so once a run had logged 40+ things (easy in a normal session), every entry after that point, including choice-event outcomes, upgrade purchases, and location visits, stopped appearing even though the underlying state updated. Fixed by tracking a monotonic logSeq counter that increments on every push regardless of the cap, and rendering off that instead of array length. Consolidated the repeated unshift+cap logic into one pushLog() helper so future call sites can't reintroduce the bug. - Added a pause button (and "PAUSAD" indicator) that freezes the tick loop without touching game state, so a hectic run can be paused to think without it counting as a save-scummy state mutation. Manual actions (buying upgrades, visiting locations) still work while paused, since that's usually the point of pausing. - The "Aktiva områden" sidebar only ever listed the 3 story-gated core areas, while the map has 7 clickable locations — making it look like 4 of the map pins didn't really exist. Split the panel into "Ritualens kärnplatser" (the 3 gated ones, unlock status shown as before) and "Övriga platser" (the 4 always-open flavor locations), so the sidebar and map agree. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
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.
Description
En kult-simulator i Malmö. Because varför inte. Änderna vid Ribban stirrar mot Turning Torso av en anledning.
Languages
TypeScript
89.7%
CSS
9.8%
HTML
0.3%
Dockerfile
0.2%