Retro quantum game engine by James Wootton
coccoon
A quantum game engine and incubator: a small, sharable way to build games whose logic runs on Atlas, the Moth platform.
One key for the whole engine. Required for all games that run quantum jobs on Atlas. Get yours from platform.mothquantum.com.
Demo games
Small, self-contained examples that each demonstrate one way to bring quantum into a game.
Qubit Park
Terrain generation via a single-qubit process. Scroll an infinite world where every tile is decided by a quantum circuit.
Play →Quantum Caverns
A quantum maze game: navigate from start to exit within a step limit. Maze generation is quantum blur, run entirely on the Moth platform.
Requires an Atlas API key. The source doubles as a tutorial for calling the Moth platform from a coccoon game.
Play →
Featured games
Full games implemented on coccoon.
Q Mummy
Inspired by Oh Mummy (1984): explore a pyramid of 120 rooms, encircle chambers to open them, grab the key and dodge the mummies. The chamber layouts were generated on IBM's ibm_phoenix QPU with Atlas's Labyrinth engine.
Built for the Quantum Game Jam 2026 and Moth Hack. Levels are baked-in real quantum measurements — no API key needed.
Play →Celeste (Quantum Remix)
A full port of Celeste Classic by Maddy Thorson & Noel Berry. The physics and levels are faithful to the original; each solid tile flickers between three quantum sprite variants made with Moth's TESSA tool.
Play →
Create a game
Load a cartridge
A fantasy-console-style editor. Write your own cartridge — or load one from a file — using the same engine the built-in games use: sprites, text, audio, per-frame input, and the MicroMoth quantum simulator. Run it live in the browser.