The gap
A management game's economy is easy to break with one price change, and playing whole seasons to check it is slow.
Game templates
The complete TypeScript and three.js source of Crumbhollow 2.0, a cozy bakery sim with a rule of its own: an old hearth where a tray's spot and the trays in front of it decide whether it comes out soft, golden or crusty, and villagers who each like their bakes one way. Every season is proven finishable by test bakers.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.
The gap
A management game's economy is easy to break with one price change, and playing whole seasons to check it is slow.
What it is
A finished, tested bakery sim whose numbers live in one config file and whose seasons test bakers replay on every test run.
How you use it
Unzip, run npm ci and npm run dev, then edit src/game.config.ts; npm test replays the seasons again in seconds.
Source code of a real, playable game to reskin and learn from, with its proofs built into the tests.
Use it when
Built for
The hearth: heat falls off from the fire, every tray shades the spots behind it, a cool morning hearth and logs; doneness by placement, villagers who like their bakes one way. All in hearth settings and the core simulation, with tests that prove placement matters.
Season and stars, shop numbers, ingredients, recipes, upgrades, villagers, story notes, the special order, colours and sound.
On every npm test greedy, lazy and idle test bakers replay 20 seasons: each reaches the festival, never broke and never stuck.
Ten recipes, ten villagers, the hearth with heat, shading and logs, upgrades, a daily special order and a festival ending.
34 unit tests and Playwright browser runs, a size budget, an upload zip for itch.io or any static host, and a guide to adding recipes, villagers and days.
1 of 3
| Platform or runtime | Supported versions | Tested up to |
|---|---|---|
| Node.js | 22.12 or newer | Not stated |
The template is finished and tested. It is not on sale yet; this page will say where to get it when it is.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.