A Dark Room
doublespeak games' 2013 minimalist text adventure that grows into a village economy, with huts and traps priced linearly.
Facts
- Released
- 2013-06-10 (web)
- Genre
- Unfolding incremental
- Borrows
- Interactive fiction
- Platforms
- web
- Developer
- doublespeak games
- Code
- Source release by Michael Townsend (doublespeak games) and A Dark Room contributors
- Evidence
- Code (2)
Verified (2)
Dev blog (1) - Sources
- 2
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 it’s filed here with incremental games. The source is public under MPL 2.0.
#Building costs
Buildings get more expensive 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.
Mechanics
| Mechanic | Kind | How |
|---|---|---|
| Linear cost scaling | Capped | huts 100 + 50n wood (max 20), traps 10 + 10n (max 10) |
| Prestige | Carry-over | the ending saves part of each store, and the next game hides it in a destroyed village |
| Exponential cost scaling | None | huts and traps rise by a fixed step of wood, up to a cap |
Every claim about this game, by concept (6)
References
- ^Dev blogTownsend 2013
How we know
doublespeak games announced A Dark Room as “a minimalist text adventure” in a blog post dated 10 June 2013.
Announcing A Dark Room, a minimalist text adventure by doublespeak games.
· archived copy ↗ - ^Codedoublespeakgames/adarkroomoutside.js 177–179, 11
How we know
Each hut adds room for 4 villagers; the maximum population is huts × 4.
178 return $SM.get('game.buildings["hut"]', true) * Outside._HUT_ROOM;script/outside.js lines 177–179 at 1fada46 · upstream ↗ 11 _HUT_ROOM: 4,script/outside.js line 11 at 1fada46 · upstream ↗ - ^Verifieddoublespeakgames/adarkroomroom.js 43–58
How we know
A hut costs wood, with already built, up to 20 huts (11,500 wood for all 20).
54 'wood': 100 + (n * 50)script/room.js lines 43–58 at 1fada46 · upstream ↗ Measured by a script. It fails if the result disagrees with the claim.
- ^Verifieddoublespeakgames/adarkroomroom.js 13–28
How we know
A trap costs wood, and at most 10 can be built.
24 'wood': 10 + (n * 10)script/room.js lines 13–28 at 1fada46 · upstream ↗ Measured by a script. It fails if the result disagrees with the claim.
- ^Codedoublespeakgames/adarkroomroom.js 1025–1027
How we know
The build action does nothing at the item's maximum count, so the cap, not the price, ends each building's run.
1025 if (craftable.maximum <= numThings) {script/room.js lines 1025–1027 at 1fada46 · upstream ↗
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