Claude Fable 5.2 + Claude Opus 5.5More Claude Opus 5.5 games
An endless rain-soaked highway at midnight: thread traffic for near misses, burn four seconds of nitro at a time, and stay out of the tanker pile-ups.
NIGHTSHIFT: Survive the Midnight is an endless night drive down a rain-soaked city expressway in a fictional two-seat supercar. Thread traffic, burn nitro, survive the tanker pile-ups, and see how far you get before the car is wrecked — there is no finish line, only the next crash.
The road is generated in 220 m chunks, built ahead and recycled behind: four lanes plus a hard shoulder, with curves, overpasses, gantries, noise walls and signs, cycling through city, industrial, a cable-stayed bridge, a tunnel and an unlit rural stretch. Eight kinds of traffic share it — four car types, a van, a box truck, an articulated truck and a tanker — with oncoming traffic on the other carriageway, and density and aggression both rise with distance.
Scoring rewards being close and fast. Distance pays metres × clamp((km/h − 60) / 100, 0, 3.2), and a near miss — a vehicle passing from ahead of you to behind while the lateral body gap was under 1.25 units, at over 90 km/h, with a closing speed above 12 km/h — pays 250, or 450 for a gap under 0.45, both scaled by up to +120% for speed and ×1.25 on nitro. Each near miss inside 4.5 seconds of the last raises the combo by one, to ×10, and the combo multiplies distance as well. Two vehicles at once within 1.4 units above 140 km/h is THREAD THE NEEDLE, +500. Above 240 km/h a HIGH SPEED bonus adds 300 every five seconds; above 300, RED LINE adds 600.
The car is a 1.65 t, rear-biased GT with seven gears and an 8200 rpm redline, tuned so drag puts the power-limited top speed near 292 km/h while it still pulls hard to 200. Nitro is 4 seconds of tank on +45% drive force plus 6 m/s² of thrust that fades between 70 and 95 m/s; it refills in 25 seconds, starting 0.8 s after you let go, and a near miss tops it up. The handbrake doubles steering lock, so a slide can be steered.
Damage is one integrity meter from 100% to TOTALLED — barrier scrapes, wall slides and traffic contact each take a slice, a hard impact takes most of it at once, and nothing repairs it. At zero the car is handed to a Rapier rigid-body world and tumbles, on fire, in slow motion with an orbiting camera, before the run summary prints distance, top speed and the best score (kept in the browser).
Two set pieces fire, each with a warning banner: in Highway Chain Reaction a box truck jack-knifes in front of a tanker and the tanker detonates, leaving about three seconds to reach the leftmost lane, which stays open; in The Last-Second Escape a tanker breaks through an overpass railing and drops onto your side, and the banner names the side that stays open. Wrecks never close the road: whatever reaches into the last open outer lane is pushed back out.
The same long prompt went to Gemini 4 Carbon, and the author published both builds side by side. This one was written by Claude Fable 5.2 (extra-high) working as an agent in Claude Code: Fable planned the work, split parts of it across Claude Opus 5.5 sub-agents, wrote every system, built its own browser test harness and checked the game in a real browser. The author reports about 16 h 36 min in total, including modelling the player car from scratch in Blender with a Python script (129,824 triangles, 26 draw calls, a 1.95 MB glb), and no human-written code — he only reported bugs he found while playing.
Made by EddizEge, MIT licence. Assets are listed in the repo's ASSETS.md: textures from ambientCG and Poly Haven, all CC0; the Saira and Inter fonts under the SIL OFL; no audio files at all, since the engine, rain, impacts and explosions are synthesised at runtime; models, buildings, signs and effects all generated by code, with no brand names or real car models. Libraries: three.js (MIT), postprocessing (Zlib) and Rapier (Apache-2.0). The GitHub Pages workflow, the LICENSE and the "How this was made" section were added by the author after the model's run.
There is no finish line. NIGHTSHIFT is an endless drive down a rain-soaked expressway at night, and a run ends only when the car is wrecked. Distance, top speed and the score are recorded at the end, and the best score is kept in the browser under nightshift.best.
Press Enter or click PLAY at the menu, wait out the GET READY countdown, and the car pulls away on its own.
The highway is generated in 220 m chunks — built ahead of you and recycled behind, so a long run does not grow memory. It is four lanes plus a hard shoulder, with curves, overpasses, gantries, guardrails, noise walls and signs, and it cycles through zones: city, industrial, a cable-stayed bridge, a tunnel and an unlit rural stretch.
Eight kinds of traffic share the road — four car types, a van, a box truck, an articulated truck and a tanker — with oncoming traffic on the other carriageway. Density and aggression both rise with distance, so the first minute is a warm-up.
| What | Pays |
|---|---|
| Distance | metres × clamp((km/h − 60) / 100, 0, 3.2) × combo |
| Near miss | 250, or 450 for a gap under 0.45 |
| Speed and nitro on a near miss | up to +120% above 150 km/h (+1.2 at 300), ×1.25 while nitro is lit |
| Threading two vehicles | +500 (THREAD THE NEEDLE) |
| Sustained speed | +300 every 5 s above 240 km/h, +600 above 300 (RED LINE) |
A near miss counts when a vehicle passes from ahead of you to behind while the lateral body gap was under 1.25 units, the closing speed was over 12 km/h and you were doing more than 90 km/h. Each one raises the combo by one, up to ×10, and the combo multiplies distance points as well as near misses. The window between near misses is 4.5 seconds; miss it and the combo drops back to ×1.
THREAD THE NEEDLE needs two vehicles at once, both within 1.4 units of the car, above 140 km/h, and pays at most once every 2 seconds.
A rear-biased GT of about 1.65 t with seven gears, redlined at 8200 rpm. Aero drag is deliberately larger than a real car's, which puts the power-limited top speed at about 292 km/h while the car still pulls hard to 200 km/h.
Nitro is 4 seconds of a full tank, worth +45% drive force plus 6 m/s² of extra thrust that fades out between 70 and 95 m/s. It refills in 25 seconds, starting 0.8 s after you let go, and a near miss tops it up a little. Steering has a lane-change assist: a short tap straightens the car back by itself, and Space is a handbrake with 2× steering lock so a slide can be steered rather than survived.
Integrity is a single meter from 100% to TOTALLED. Scraping a barrier, a slide along a wall and contact with traffic each take a slice; a hard impact can take most of it at once, and there is no repair. On top of that, the road's own set pieces kill in one hit if you are in the wrong lane.
At 0% the car is handed to a Rapier rigid-body world and tumbles: fire, smoke, sparks, an explosion with slow motion and an orbiting crash camera, then the run summary.
Two scripted events fire during a run, and both warn you with a banner first.
| Event | What happens | Your out |
|---|---|---|
| Highway Chain Reaction | a box truck jack-knifes in front of a tanker; the pile-up blocks most of the road and the tanker explodes | KEEP LEFT — about 3 seconds to reach the leftmost lane, which stays open |
| The Last-Second Escape | a tanker breaks through the railing of an overpass and drops onto your side of the road | the banner names the side that stays open |
Wrecks stay where they crashed, but no pile of them closes the whole carriageway: whatever reaches into the last open outer lane is pushed back out, so there is always a way through.
SETTINGS has four presets — LOW, MEDIUM, HIGH (the default) and ULTRA — plus dynamic resolution driven by a GPU timer. If you never pick one and the frame budget cannot be held at the lowest resolution, the game steps down a preset by itself. The author's own measurements (1920×1080, RTX 4060 Ti, autopilot in city traffic) put LOW at 377 fps and ULTRA at 180, limited by draw calls rather than pixels. On an integrated GPU expect LOW or MEDIUM.
| Input | Action |
|---|---|
| W / Up | Accelerate |
| S / Down | Brake, reverse from a standstill |
| A D / Left Right | Steer |
| Space | Handbrake |
| Shift | Nitro |
| C | Camera (chase / hood) |
| P or Esc | Pause |
| R | Restart |
| Enter | Confirm, play again |
Menus work with the mouse or with the arrow keys and Enter. A gamepad with a standard mapping works too. There are no touch controls: the game is keyboard-and-mouse only, and the menu itself says it is best with a keyboard and headphones.
Press Play Game above and NIGHTSHIFT: Survive the Midnight loads from the author's own site (eddizege.github.io) inside a sandboxed frame. There is nothing to install.
Under the hood it uses Three.js, WebGL.
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.
It goes on. The road is generated in 220 m chunks and never ends; a run finishes only when the car's integrity reaches zero, and the summary then shows distance, top speed and score. Your best score is kept in the browser.
No. There are no touch controls in the game — it reads the keyboard and a standard gamepad only — and the menu says it is best with a keyboard and headphones. It is a desktop game.
Only the best score, in localStorage. There are no unlocks, no checkpoints and no saved position: every run starts from zero at the menu.
Distance, near misses and sustained speed. Distance pays metres times clamp((km/h − 60) / 100, 0, 3.2) times the combo; a near miss pays 250, or 450 for a gap under 0.45 units, scaled by speed and by 1.25 on nitro; above 240 km/h you get 300 every five seconds, and 600 above 300 km/h.
Try LOW in SETTINGS. LOW renders at a 0.8 pixel ratio and the game also lowers resolution on its own when the GPU timer says it is missing the frame budget, stepping down a preset if you never chose one. The author measured 377 fps on LOW and 180 on ULTRA at 1080p on an RTX 4060 Ti, with the frame limited by draw calls rather than pixels.
Yes. NIGHTSHIFT: Survive the Midnight runs in your browser for free, with no download, account or install. It loads from the author's own site (eddizege.github.io).
NIGHTSHIFT: Survive the Midnight was made by EddizEge, using Claude Fable 5.2 + Claude Opus 5.5.
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/EddizEge/nightshift-fable under the MIT license.