Claude Fable 5.2
Wade into a golden-hour meadow with a glass jar, coax twenty fireflies into it before dark, then open the lid and let them go.
Firefly Jar is one summer evening, the summer you were eight: a meadow at the edge of a small town, a glass jar in your hands and twenty fireflies to catch before the light goes. The evening itself is the clock — every catch pulls the sky a little closer to night — and the jar is the only progress bar there is.
W A S D walks, Shift runs, the mouse looks, and a dot in the middle of the screen is your aim. Line the dot up on a drifting light, get close enough and click: a hand comes up, unscrews the zinc lid and the jar takes it. The jar is also the lamp, so the glow spills onto your fingers and the grass in front of you and the meadow gets easier to read as it fills.
Reach is 3.6 m at golden hour and 3.0 m once it is properly dark — pe.reach = Qt.lerp(3.6, 3, smoothstep(tod, .3, .9)) — and after dark they get shy: charge one and it flares and bolts, and it will not be caught for a few seconds. Walk up slowly and stop, and it lets you take it. Click something out of reach and the game says so instead of swallowing the click.
Everything on screen runs off one number, the time of day from 0 to 1: sun, sky, haze, exposure, the crickets and the farmhouse lights all follow it. The grass is three rings of instanced tufts — about 260,000 blades — placed in the vertex shader and wrapped around you as you walk, with wind gusts, backlight through the blades and stems that part around your legs. Four kinds of wildflower in drifts, an oak with a tyre swing, a weathered fence and gate, a clapboard farmhouse with the porch light on, and a town on the horizon. When the jar holds twenty you lift it, the lid comes off, and they rise and settle as stars.
Built by Claude Fable 5.2 in Claude Code from a long prompt printed in full in the README. The method is in notes.md: the builder makes or fixes everything and stops, then a fresh critic agent that has never seen the code plays the build in a real browser at 1920×1080 and at 844×390 and 390×844, screenshots a whole play-through and compares those against 25 public-domain photographs of fireflies, glowing jars, backlit grass and porch lights — and is not allowed to say anything looks good, only list what looks cheap, confusing or not fun. The builder fixes the biggest problems first, five rounds at most, then ships. Fifteen of the twenty commits carry Co-Authored-By: Claude Fable 5.2.
Three.js r187 on the WebGPU renderer with TSL materials, a WebGL2 fallback for phones without WebGPU, three quality tiers picked automatically and a frame-rate governor that drops render resolution instead of frames. The author measured about 100 fps average at 1920×1080 on an RTX 4060, with the slowest 1% of frames still at 60 fps or better. A jar takes about five minutes and the game writes nothing to storage.
Made by StarKnightt. Everything not listed in CREDITS.md was made for the game — sky, grass, wildflowers, farmhouse, fence, jar, fireflies, music box and chimes. Third-party: Poly Haven models and textures (CC0), the WebXR hand models (MIT), tree growth adapted from EZ-Tree (MIT), crickets and breeze from Freesound (CC0), Caveat and Fraunces (OFL). Source on GitHub; the repo has no licence file, so the game is embedded from the author's own GitHub Pages and nothing is copied onto this site.
Catch twenty fireflies before the meadow goes dark, then open the jar. There is no fail state and no timer on the clock face — the evening itself is the clock, and every firefly in the jar brings night a little closer.
Walk up to a light, put the dot in the middle of the screen on it, and click. You can only take one that is inside your reach: 3.6 m while there is still light, tightening to 3.0 m once it is properly dark.
After dark they get shy. Charge at one and it flares, bolts, and will not be caught for a few seconds; walk up and stop, and it lets you. If you click something out of reach the game says so rather than swallowing the click.
The meadow is one open space, not a set of stages: tall grass, wildflowers, a fence, an oak with a tire swing, and a clapboard farmhouse with the porch light on. The gate is open, so you can walk up the path to the porch. Fireflies drift over the field, along the far treeline and around the house — the ones out over the fields are the easy ones early, and the far ones get harder as the light goes.
| Input | Action |
|---|---|
| W A S D | Wander |
| Shift | Run |
| Mouse | Look |
| Click | Catch the firefly under the dot |
| Esc | Free the mouse |
| M | Mute |
On a phone: left thumb anywhere on the left of the screen walks (push to the rim to run), drag on the right to look, tap a firefly to catch it. Portrait and landscape both work.
Press Play Game above and Firefly Jar loads from the author's own site (starknightt.github.io) inside a sandboxed frame. There is nothing to install.
Under the hood it uses Three.js.
On a phone, tap Play and the game opens fullscreen with its own touch controls.
Tip: click inside the game once to capture the mouse, and press ESC to release it. Fullscreen gives the best frame rate on large monitors.
About five minutes, according to the README. Twenty fireflies, one evening, no save file: it is built to be played in one sitting.
They are shy after dark. Charging at one startles it — it flares, bolts and stays uncaught for a few seconds. Walk up slowly and stop when the ring lights, and it lets you take it.
No. The game writes nothing to storage, so closing the tab ends the evening. That is deliberate for a five-minute game.
Yes — left thumb to wander, drag to look, tap to catch, in portrait or landscape. It renders with WebGPU where the browser has it and falls back to WebGL2 where it does not.
You lift the jar and open the lid. They all float up and turn into stars — that is the ending.
Yes. Firefly Jar runs in your browser for free, with no download, account or install. It loads from the author's own site (starknightt.github.io).
Firefly Jar was made by StarKnightt, using Claude Fable 5.2.
The author hasn't published the prompt. Many of these games came out of a long back-and-forth with the model rather than a single prompt.
The source is public at https://github.com/StarKnightt/firefly-jar.