Claude Fable 5.2
3D endless runner: a maintenance robot flees a sweeper drone along an elevated metro line at sunset
Duskline is a 3D endless runner set on an elevated metro line above a city at sunset. You're a small maintenance robot, and a sweeper drone wants you off its tracks. Switch between three lanes, jump low barriers, slide under high ones, run up ramps onto the roofs of trains, and dodge the trains coming the other way, all while the speed keeps climbing.
Hit something once and the drone closes in. Hit something again before it backs off and it catches you.
Claude Fable 5.2 wrote it from a single prompt that asked for no libraries, no CDNs and no assets, so the WebGL renderer is hand-written. The sunset sky with its city silhouette, the lit windows of the tower blocks, the streetlight grid far below, the trains and the robot are all generated in code, and the sounds (train horns, the drone's beeping, spark pickups) are synthesized with Web Audio. It's one 91 KB HTML file that plays on desktop or with swipes on a phone, and it lowers its quality automatically if the frame rate drops.
Made by Raúl Berná with Claude Fable 5.2.
| Power-up | Effect |
|---|---|
| Magnet | Pulls nearby sparks in for 9 seconds |
| Shield | Absorbs one hit completely. The drone doesn't close in. |
| Input | Action |
|---|---|
| ← / → or A / D | Change lane |
| ↑ or W | Jump |
| ↓ or S | Slide |
| Swipe left / right / up / down | The same on touch screens |
| P or Esc | Pause |
| Space, Enter or tap | Start / run again |
Duskline is a single self-contained HTML file (91 KB) hosted on this site. Press Play Game and it runs in an isolated sandbox. You can also download the .html file and open it offline in any modern browser, or read every line in the Inspect Source tab.
Under the hood it uses WebGL.
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.
The exact instruction Raúl Berná gave Claude Fable 5.2. Copy it from the View Prompt tab above.
Make a fast, fun 3D endless runner in a single HTML file, with nothing external: no libraries, no CDNs and no assets, so write the WebGL yourself. You are a small maintenance robot escaping along an elevated metro line above a city at sunset. A sweeper drone chases you. Three lanes: swipe or press left/right to change lane, up to jump, down to slide. Trains come at you in all lanes, some parked, some moving towards you; low barriers you jump, high ones you slide under. You can run on top of train roofs and reach them with ramps. Hit something once and the drone closes in; hit again before it backs off and it catches you. Collect energy sparks along the track. Two power-ups: a magnet that pulls sparks in, and a shield that absorbs one hit. Speed keeps rising, so a good run lasts about 2 minutes. Show score, sparks and best score (saved locally); restart is instant. Make it feel great: smooth lane changes, camera behind and slightly above, speed lines, screen shake on hits, satisfying sounds made with Web Audio. Works on desktop (arrow keys or WASD) and on mobile (swipes), and lowers quality automatically if the frame rate drops. All text in English.
Your first hit makes it close in for 6.5 seconds. Hit anything else in that window and it catches you; survive it and the drone backs off again.
One point per metre run, plus 10 points for every energy spark. Your best score is saved in the browser.
Yes. Swipe left and right to change lanes, up to jump and down to slide. It works in portrait or landscape.
No. The prompt asked for no libraries, CDNs or assets, so Claude Fable 5.2 wrote the WebGL renderer, models and sound itself in a single 91 KB file.
Yes. Duskline runs in your browser for free, with no download, account or install. It is a single HTML file hosted on this site.
Yes. It has its own touch controls. It works with the phone held either way.
Duskline was made by Raúl Berná, using Claude Fable 5.2.
The full prompt is published on this page, in the prompt section and the View Prompt tab.
Yes. It is one self-contained HTML file of 91 KB. Download it from the Inspect Source tab and open it in any modern browser, even offline.
Seven-a-side 3D football with referees, offside, cards, penalties and tactics, in one HTML file.