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, a cozy bakery sim with a season, a festival and an ending. Test bakers replay whole seasons to prove it stays gentle and finishable.
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
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, ovens with a golden window, upgrades, a daily special order and a festival ending.
31 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.