Rule Stack: Chain Colour Rules to Rebuild a Cube Wall
Turn a wall of isometric cubes into the goal shape by chaining rules, in one offline HTML file: paint one colour into another, cap stacks, sort, fuse pairs, tuck cubes in, flip the wall. Every rule in the pipeline draws its own wall on the board, so you see where a program goes wrong. Drag to reorder, reset to start over; 18 levels in three chapters, each with a stored solution the tests replay.
Bring the pieces and the colours, and optionally new rules, new levels or chapters, the board layout and the text. The Skill returns a downloadable Skill (the puzzle project, a customize guide, headless verification) and one playable example run.
How it works
Your coding agent copies the working puzzle and follows the customize guide: the palette and backdrop, the rule engine, the level table, the board layout and the UI copy.
Rules are pure functions over a wall, so the tests replay every stored solution and the verification gets the same result every time.
The puzzle is played headlessly under the sandbox policy: adding, reordering and removing rules, reset, solving early and late levels, moving to the next level, plus a phone game.
Frequently asked questions
Does it call a model or need a key?
No. The Skill gives your agent a working puzzle, a customize guide and verification; the game itself makes no network calls and calls no model.
Why is the demo sandboxed?
The frame has an opaque origin and no network access, so the scene can’t read anything from this page or reach the internet.
Is the game in English only?
Yes. The page is in two languages; the game’s own text is in English.
Is there a hint or solver in the game?
No. Each level has a stored solution for the tests, but the game does not show it.
Does it work on mobile?
Yes: tap a rule to add it and drag pipeline chips to reorder or remove them. Verified under touch emulation, not on real devices.
Why is there no online generation?
Building a new scene needs a model key inside the sandbox, which the backend doesn’t support yet. Run the Skill with your own agent for now.