The gap
Push-puzzle levels are easy to make unsolvable by accident, and finding the fewest moves for a fair par by hand is slow.
Game templates
The complete TypeScript and three.js source of Sowmere, a garden push puzzle where seed pods take root on the first bed they touch. An exact solver proves every level and sets its par.
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
Push-puzzle levels are easy to make unsolvable by accident, and finding the fewest moves for a fair par by hand is slow.
What it is
A finished, tested push puzzle whose levels are text and whose solvability and par an exact solver proves.
How you use it
Unzip, run npm ci and npm run dev, then edit src/game.config.ts; npm test proves every level 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, the twist, stars, hints, the daily generator, the levels as text, colours and sound.
On every npm test an exact solver solves every level and daily garden and finds the fewest moves, the par.
30 gardens, a daily garden, three stars, unlimited undo, hints and a warning when a pod is stuck.
26 unit tests and Playwright browser runs, a size budget, an upload zip for itch.io or any static host, and a guide to drawing levels and changing the twist.
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.