Skip to content
PN Scripts

Game templates

Sowmere Game Template

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.

  • TypeScript
  • three.js
  • Vite 8
  • Web Audio
  • Vitest and Playwright
  • Coming soon

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.

Sowmere in play: a gardener in a straw hat on a hedged island with a seed pod, a soil bed and one sapling already planted

What it solves

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.

Who it is for

Use it when

  • Publishing your own push puzzle or grid puzzle on itch.io, web portals or your site.
  • Learning puzzle solvers, deadlock detection and proven level design in TypeScript.
  • Building a branded puzzle mini-game for a client.

Built for

  • Web and indie game developers who know some TypeScript.
  • Puzzle designers who want every level checked by a solver.

What you get

One config file

Title, logo, save key, the twist, stars, hints, the daily generator, the levels as text, colours and sound.

Levels with a proof

On every npm test an exact solver solves every level and daily garden and finds the fewest moves, the par.

A finished game

30 gardens, a daily garden, three stars, unlimited undo, hints and a warning when a pod is stuck.

Tests and a guide

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.

Specs

Availability
Coming soon
Vendor
PN Scripts
Type
Template
Platforms
JavaScript
Pricing
One-time purchase Price to be announced.
License
PN Scripts Template Licence 1.0
Deployment
Download (ZIP of source code)
Maturity
v1.0.0

Compatibility

Platform or runtime Supported versions Tested up to
Node.js 22.12 or newer Not stated

Stack

  • TypeScript
  • three.js
  • Vite 8
  • Web Audio
  • Vitest and Playwright

The Sowmere template is coming soon

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.

Questions

Make and sell any number of your own games from it, and build games for clients. You may not resell or share the source code itself (PN Scripts Template Licence 1.0).

Node.js 22.12 or newer and some TypeScript. Google Chrome runs the browser tests.

No ad or portal SDK, and English only. It is tested in desktop Chrome and Chrome's Pixel 7 emulation, not yet on iOS Safari, Firefox or a real phone.

The code was written with AI assistance and checked by PN Scripts with automated tests. All visuals and sounds are generated by code; there are no AI-generated image or audio files.

It is not on sale yet. When it is, this page will link to the store; PN Scripts does not take payment on this site.