Fredrik JohanssonandClaude Sonnet 5 666b64e748
Docker / build-and-push (push) Successful in 1m42s
Modals close on Escape, not just the X button
Characters modal was missing an Escape handler entirely (click-outside
already worked). Consolidated the Escape handling into one listener
that closes whichever overlay is topmost — lightbox first, then
characters, then help — so dismissing the lightbox with Escape doesn't
also close the characters modal underneath it.

Deliberately left the event-choice modal alone: that one represents a
decision with real game consequences, not just a "look at content"
overlay, so it should require an explicit choice rather than being
dismissible.

Verified via headless browser: Escape and click-outside both close
help, characters, and the lightbox correctly, with the lightbox/
characters layering behaving as expected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-01 22:23:42 +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%