The gap
Puzzle games live or die by their levels, and hand-made levels need endless testing to be sure each one can be solved. Building the game loop, saving, sound and layouts on top takes weeks before the first level is fun.
Game templates
The complete TypeScript and three.js source of Moonpull, a one-control tide puzzle game: the player is the moon, and one drag sets the tide for boats and walkers. Every level is proven solvable.
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
Puzzle games live or die by their levels, and hand-made levels need endless testing to be sure each one can be solved. Building the game loop, saving, sound and layouts on top takes weeks before the first level is fun.
What it is
A finished, tested puzzle game whose levels are generated and proven by a solver, with its look, rules and difficulty curve in one config file.
How you use it
Unzip, run npm ci and npm run dev, then edit src/game.config.ts; npm test re-proves every level.
Source code of a real, playable game to reskin and learn from, with the level proof built in. Not an engine or a drag-and-drop builder.
Use it when
Built for
Title, logo, save key, every colour of the harbour, hearts and tolerance, level names and the difficulty curve: boats, walkers, causeways, reefs and the moon's speed per level.
Each level is drawn around an intended tide and then checked by an exact solver. The autopilot clears every level without losing anyone, and from level 3 no single fixed tide can.
24 levels and a daily level, three hearts and stars, a gauge that shows the safe tide, warnings over travellers about to be caught, saves, and layouts for desktop and phones.
37 unit tests and Playwright browser runs, a size budget, an upload zip for itch.io or any static host, and a guide to reskinning, tuning the campaign and adding new rules.
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.