The gap
Snake stages with gates and colour rules are easy to make impossible by accident, and checking every star target by playing is slow.
Game templates
The complete TypeScript and three.js source of Tintail, an arcade snake that wears the colour it eats and slips through matching crystal gates. A search bot proves every stage.
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
Snake stages with gates and colour rules are easy to make impossible by accident, and checking every star target by playing is slow.
What it is
A finished, tested arcade snake whose stages are text maps and whose star targets a search bot proves.
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, rules, three colours, medals, palette, sound and the 15 stage maps as text.
On every npm test a search bot plays every stage and must earn three stars, so each star target is fair.
Colour gates and dye pools, double points for matching fruit, 15 stages, an endless mode, three medals and a daily run.
102 unit tests and Playwright browser runs, a size budget, an upload zip for itch.io or any static host, and a guide to adding stages and new tiles.
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.