WebgameFans

How to Make a Game With Claude Fable 5.2 (One Prompt)

What you are actually building

A Claude Fable 5.2 game is almost always one HTML file. Anthropic's model writes the markup, the styling, the game loop, the 3D scenes, the physics and the sound in a single pass, and the result runs by opening it in a browser — no engine, no build step, no server.

That is why the games in this directory can be played instantly: the whole game is a file the creator hosts somewhere free.

Step 1: Decide the shape of the game before you write the prompt

Pick four things first, because they are the four things that go wrong most often:

  • Genre and camera — 2D arcade, 2.5D isometric, first-person, third-person, top-down.
  • Controls — keyboard and mouse, or touch. Desktop-first is the safe default; mobile controls need to be asked for explicitly.
  • Session length — a 30-second arcade loop or a 20-minute level. Both work; mixing them produces a game that feels unfinished.
  • Art direction in words — "oil painting", "colored pencil", "pen and ink", "1996 pixel art". Fable 5.2 draws in code, so the look has to be described, not attached.

Step 2: Write the prompt as a brief, not a wish

A prompt that produces a playable build usually contains: the camera, the controls, the win condition, the first 60 seconds of play, the art direction, and one instruction that everything must be generated in code with no external assets.

Build a single self-contained HTML file: a top-down arcade racing game.
Arrow keys steer, space drifts. Three laps, lap timer, best time saved to localStorage.
Art direction: flat colored-pencil look, all shapes drawn in code, no external images or fonts.
Include a start screen, a pause key, and a results screen.

The "single self-contained HTML file, no external assets" line is what keeps the build portable — it is the difference between a game you can host in a minute and a project you have to debug for a day.

Step 3: Let it run, then look at the file size

Build size tells you what you got:

  • 150–400 KB — a focused arcade or puzzle game. Voidlight Depths is 164 KB, EBB is 190 KB, HADAL is a 373 KB WebGPU dive.
  • 500 KB–1 MB — a 3D scene with real terrain or a driving game. Uno com Escada is 603 KB with no engine at all.
  • 10–30 MB — a full 3D action game with many models. Mist-Locked Mountain Gate 3D is a single 30 MB file.

If the file is small but the game feels empty, ask for more content, not more technology. If the file is huge and slow, ask it to drop textures and draw with shaders.

Step 4: Iterate in the same conversation

Keep the file and the conversation. Ask for one change at a time — a new enemy, a better landing animation, a harder second level — and re-test in the browser after each pass. The creators behind the most-played games in this directory shipped 5–10 passes in a single session; the ones who started a new chat for every tweak ended up with builds that no longer fit together.

Step 5: Host it and give it a link

A single HTML file can live on GitHub Pages, Cloudflare Pages, Netlify or Vercel in a couple of minutes, with no build configuration. Name the file index.html, drop it in the repository root, and the platform serves it. If you want it playable at a nicer address, point a domain at it.

Once it has a URL, submit it — our submission page takes playable browser games, and every accepted game gets a card with the creator credited and a link back to the original post.

How long does this take, and what does it cost?

  • A 2D arcade game: half an hour to a couple of hours of prompting. Cloud Stunt 3D was built in 30 minutes.
  • A first-person shooter: the most-cited demo, Saltline, was reported as an 8-hour unattended run costing roughly $550 in API usage.
  • A finished, hostable build: most of the 123 games on this site were finished in one session.

The cost is mostly model usage; hosting a single file is free on all four platforms above.

Five things that separate a demo from a game

  1. A start screen and a restart button. Without them a build feels like a tech demo.
  2. One clear win or lose condition. "Endless" is not a design, it is an absence of one.
  3. Sound that can be muted. Generated audio is cheap; a mute key is cheaper.
  4. A frame-rate ceiling. Ask for a fixed timestep if the game speeds up on fast machines.
  5. A loading state. Even 30 MB arrives slowly on a hotel Wi-Fi connection.

Where to go next

Questions about building with Claude Fable 5.2

Do I need to know how to code to make a game with Claude Fable 5.2?

No. The model writes the HTML, CSS and JavaScript; your job is to describe the game precisely, test it in a browser, and ask for one change at a time. Knowing what a file is and how to open it in a browser is enough to ship a first build.

What file does Claude Fable 5.2 produce?

Normally a single self-contained HTML file with no external images, models or fonts — everything is drawn and generated in code. That file runs by opening it in a browser and can be hosted on GitHub Pages, Cloudflare Pages, Netlify or Vercel without a build step.

Can Claude Fable 5.2 make a 3D game?

Yes. Builds in this directory range from 164 KB WebGL games to a 30 MB 3D action game, and several use WebGPU. 3D builds are heavier, so expect bigger files and longer generation runs than a 2D arcade game.

How much does it cost to generate a game?

It depends on how long the model runs. A small arcade game is a short session; the frequently cited first-person shooter demo took about 8 hours of unattended runs and roughly $550 of API usage. Hosting the finished file is free on the platforms listed above.

Can I publish or sell a game I generated?

You own what you create with the model, subject to Anthropic's usage terms, and the games listed here keep full credit with their creators. Check the terms for your plan before you publish commercially, and never ship assets you do not have rights to.