The gap
Idle games live or die by their balance, and tuning an economy by playing it for hours is slow; building the game around it takes weeks more.
Game templates
The complete TypeScript and three.js source of Tidewick, a cozy idle game with a real ending: gather, hire, build and light the lighthouse. Its balance is proven by a bot on every test run.
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
Idle games live or die by their balance, and tuning an economy by playing it for hours is slow; building the game around it takes weeks more.
What it is
A finished, tested idle game with an ending whose economy lives in one config file and is checked by a bot in seconds.
How you use it
Unzip, run npm ci and npm run dev, then edit src/game.config.ts; npm test checks the game 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
Title, logo, save key, three resources, six producers with their rising costs, eighteen upgrades, three milestones, the offline cap, balance targets, colours and sound.
A greedy bot replays the whole game on every npm test: it must finish inside the target window and never wait too long for its next purchase.
Gather, hire, build and light the lighthouse; a diorama that grows, a sky from day to night, offline progress, export and import, and an ending with your time.
52 unit tests and Playwright browser runs, a size budget, an upload zip for itch.io or any static host, and a guide with a step-by-step rebalancing loop.
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.