One Prompt Builds a Three-Phase Browser Boss Fight in About 40 Minutes
One prompt to Claude builds a small browser boss fight with one arena and one boss.
How to use
- Copy the prompt.
- Paste the prompt into Claude.
- Open the HTML file in your browser.
- Check the dodge, the screen shake, and the damage numbers.
You know, build me a boss fight. Insanely good game feel, something that looks and feels like a modern indie hit. Keep it small in scope: one arena, one boss, one player. Make the boss fight the best 3 minutes of my day.
Make it a single HTML file I can play right here in the browser. Use Three.js from cdnjs (or plain WebGL). No external images or sound files: every model, texture, particle and sound is generated in code (Web Audio for sound).
The fight:
- Third-person camera behind the player, stylised dark-fantasy arena at dusk, strong rim light, fog, embers in the air.
- Player: move (WASD), dodge roll with i-frames (Space), light attack (left click), heavy attack (hold left click), health bar and stamina bar.
- Boss: an original giant armoured creature with its own name shown at the top with a big health bar. 3 phases: phase 2 at 66% HP, phase 3 at 33% HP. Each phase adds a new readable attack with a clear wind-up (glow, sound cue). At least: a sweeping swipe, a ground slam with shockwave ring, a charge, and in phase 3 a rain of fire projectiles.
- Feel: hit-stop on every hit, screen shake, damage numbers, sparks, boss stagger after 3 heavy hits, slow-motion on the final blow.
- Sound: synthesized music that changes per phase, impact sounds, boss roar on phase change.
Flow: title screen with the game name and "Click to start" -> fight -> victory screen with time and hits taken, or "YOU DIED" screen -> restart on click. Show controls on screen for the first 8 seconds.
Original game only: no names, characters or designs from existing games.
Target 60 fps on a normal laptop. Fix any bug you notice before you finish, and make sure the whole loop from title to victory works. Read more
Summary
gisu (@0xGisu on X) says one prompt to Claude Fable 5.2 on a Claude Pro plan gave him a playable browser boss fight in about 40 minutes, with no Unity and no assets. It has one arena, a giant boss with shockwave slams, stagger and damage numbers, plus dodge rolls, hit-stop and screen shake, and every model, texture and sound is written in code in one HTML file.
He pasted the full prompt in a reply. It reads like a small game design brief: player controls, a boss with three phases that each add a new attack with a clear warning, game-feel effects, music that changes per phase, title, victory and 'YOU DIED' screens, an original-game-only rule and a 60 fps target.
For Cambodia
A Cambodian student with a laptop and a Claude subscription can use this prompt to make a game that friends can play in the browser, with no engine to install. The prompt is also a good checklist of what makes a fight feel good, which helps anyone learning game design.
Notes
Note
Post by gisu (@0xGisu on X), 11 Nov 2026: https://x.com/0xGisu/status/2120548914893832471; the full prompt is in his reply https://x.com/0xGisu/status/2120550891736518760, labelled 'Claude Fable 5.2, effort High, paste into a new chat' (both checked via the X API on 2026-11-12). The prompt is quoted verbatim. The 40 minutes and the post's '$3,400 freelancer week' line are his own claims, and the post also points to his own article. Title, summary and why are in our words.
Source
Open the original source.
https://x.com/0xGisu/status/2120548914893832471 (opens in a new tab)
The first category on a case is its primary purpose. Any later category is a secondary tag.