Prismaze
A laser-maze puzzle game in the browser: turn the mirrors, split the light, light up each target in the right colour.
In short
- 50 levels in 5 chapters: mirrors, colours, prisms, special pieces, mastery.
- Level editor, checked by the solver right in the browser.
- Daily challenge drawn from the date: the same level for everyone, with no server.
- Playable offline after the first visit, and entirely with the keyboard.
- The minimum number of pieces for each of the 50 levels is proven by the solver and confirmed by a second program; 785 tests.
- Code under the GPL-3.0 licence.
- Stack
- JavaScript (ES modules), WebGL2 with a Canvas 2D fallback, no dependencies
- Role
- Personal project: sole author of the repository’s commits.
- AI
- developed with AI agents (Claude)
- Proves
- C1 Réaliser (build) validatedA complete game, published online, with its tests.
- C2 Optimiser (optimise) validatedA solver proves the minimum number of pieces for each level, confirmed by a second program.
Animation: a grid of dim dots; a beam leaves a source, bounces off three mirrors, goes through a prism and splits into three rays, orange, white and grey, which reach three targets.