The gap
Hand-made grouping puzzles take time to write and a single word that fits two groups makes a puzzle unfair.
Game templates
The complete source of Bundlemere, a word-grouping puzzle with a bilingual theme bank, forty seeded puzzles and a daily puzzle.
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
Hand-made grouping puzzles take time to write and a single word that fits two groups makes a puzzle unfair.
What it is
This template builds puzzles from a bank of themes, rejects any board where a shown word belongs to another chosen theme, and controls difficulty by how many look-alike themes it puts together.
How you use it
Unzip, serve the folder and open index.html, then edit game.js; npm test plays it again in headless Chrome.
Source code of a real, playable game to reskin and learn from, with a smoke test whose bot plays it.
Use it when
Built for
Each theme belongs to a family such as tools or music; easy puzzles take themes from different families, hard ones take two or three from the same family.
Before a board is shown every word is compared with the full word lists of the other chosen themes; a board with a clash is thrown away and rebuilt.
Plain JavaScript and Canvas 2D; open index.html through any static server and edit game.js.
A headless Chrome test loads the game, checks the console, presses keys and taps, and lets the built-in bot play a run to its result screen.
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.