Fredrik JohanssonandClaude Sonnet 5 2fd6c5e854
Docker / build-and-push (push) Successful in 1m39s
Soften offline hemlighet drain: grace period + per-session cap
Per feedback that unattended-tab game-overs felt bad specifically
because there was no chance to react — unlike a loss during active
play, which you can usually see coming.

- The first 5 minutes away accrue rewards (andakt, dread, etc.) as
  before, but cost zero hemlighet. A quick tab-out is never punished.
- A single absence, however long, can never cost more than 35
  hemlighet total. Applied as a clamp on the *combined* passive-drain
  and flavor-event effects — an earlier version of this only capped
  the passive-drain component, so a run of bad luck on the random
  away-time events could still blow past the intended cap.

Doesn't change anything about live play — only applyOfflineProgress.
A cult that was already critically exposed before you left can still
be found while you're gone; the cap bounds the damage one absence can
do, it doesn't grant immunity.

Added two tests (grace window is a true no-op below threshold and
still accrues rewards; a 24h absence can't drop hemlighet by more
than the cap regardless of which random events fire) and verified
live in a real browser: a 4-minute absence left hemlighet unchanged
by the offline step, and a 30-hour absence starting at full hemlighet
landed at 64/65 instead of the uncapped 58 from before the fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 20:01:17 +02:00
2026-07-07 23:06:00 +02:00
2026-07-19 19:49:28 +02:00
2026-07-07 23:06:00 +02:00
2026-07-07 23:06:00 +02:00

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.

S
Description
En kult-simulator i Malmö. Because varför inte. Änderna vid Ribban stirrar mot Turning Torso av en anledning.
Readme
38 MiB
Languages
TypeScript 91.1%
CSS 8.5%
HTML 0.3%
Dockerfile 0.1%