Photon Forge: A Quantum-Optics Puzzle Board
Route photons to their detectors, in one small offline HTML file: sixty-two levels across tutorials, a full arc, concept demos and a sandbox — drag twenty kinds of optical tiles onto the grid, fire the laser and read the same amplitudes the win check reads. A tensor engine over polarization × direction × position makes superposition, interference and entanglement real, not scripted.
Bring the board and the tile set, the levels and the win rule, and optionally the sandbox, the palette and the UI text. The Skill returns a downloadable Skill (the optics puzzle project, a customize guide, headless verification) and one playable example level.
How it works
Your coding agent copies the working game and follows the customize guide: the tensor engine over polarization × direction × position, the tile behaviours, the level arc and the readouts.
The published example is a real simulation, not a scripted demo: sixty-two levels across tutorials, a full arc, concept demos and a sandbox, and the probabilities you read are the same amplitudes the win check reads.
The game is played headlessly under the sandbox policy: start, two mirrors placed, a photon run, a win, the level selector and next level, the sandbox and a phone placement.
Frequently asked questions
Does it call a model or need a key?
No. The Skill gives your agent a working game, 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 bilingual?
Yes. Both the page and the game’s own UI switch between English and Chinese.
What are the visuals and audio made of?
All of it is code: Canvas 2D for the board, tiles and beams. No image, font or audio files ship with it.
Does it work on mobile?
Yes: drag a tile, tap to rotate, fire the laser. 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.