Game
A Dark Room
doublespeak games' 2013 minimalist text adventure that grows into a village economy, with huts and traps priced linearly.
On this page
A Dark Room is a browser game by Michael Townsend’s doublespeak games, announced on 10 June 2013 as “a minimalist text adventure”1. Its economy grows around a village, with housing at 4 villagers per hut2, so the atlas files it with incremental games. The source is public under MPL 2.0.
#Building costs
Buildings get dearer linearly, the contrast case for exponential cost scaling. A hut costs wood3 and a trap wood4, where n is the number already built. With income that grows with the count owned, the wait for the next building settles to a constant. A hard cap, enforced by the build action, ends each run instead5.
References
- ^doublespeak games announced A Dark Room as “a minimalist text adventure” in a blog post dated 10 June 2013. T2Townsend 2013
- ^Each hut adds room for 4 villagers; the maximum population is huts × 4. T3doublespeakgames/adarkroom · script/outside.js L177–179, L11
- ^A hut costs wood, with already built, up to 20 huts (11,500 wood for all 20). T4doublespeakgames/adarkroom · script/room.js L43–58probe
probes/idle-costs/a-dark-room.mjs - ^A trap costs wood, and at most 10 can be built. T4doublespeakgames/adarkroom · script/room.js L13–28probe
probes/idle-costs/a-dark-room.mjs - ^The build action does nothing at the item's maximum count, so the cap, not the price, ends each building's run. T3doublespeakgames/adarkroom · script/room.js L1025–1027
Sources
Code
- games), Michael Townsend (doublespeak and A Dark Room contributors. 2025. “A Dark Room source code.” Commit 1fada46. doublespeakgames/adarkroom @ 1fada46 · licence, all uses
Primary
- Townsend, Michael. 2013. “A Dark Room released.” doublespeak games blog. doublespeak games. original · archived · licence, all uses