~/ai-coding-engines

Claude Code for Game Development: What Works, What Breaks, What It Costs

Can Claude Code make a real game? Engine-by-engine fit, the setup that works, real projects with costs, what breaks, and Steam's AI rules.

A game jam sponsored by Cursor paid its $25,000 top prize to a game built with Claude Code.

The winner is an iOS developer called Leo. Leo ran two or three Claude Code sessions at once for about two weeks and describes the work as shifting “from coding to deciding.” Claude Code builds playable games, fastest in Godot or a browser engine, on a $20 to $200 plan. It can’t tell whether a game is fun, so that part of Claude Code game development stays with you.

Research-based guide, checked against Anthropic, Unity, Epic, Godot and Valve documentation and the developers’ own posts.

Can Claude Code make a complete game?#

Yes, if the game is small. Claude Code has built a jam winner, a rebuilt 1992 online game, browser games with live players, and a port of a 1993 Amiga game. In each one, a person made the design calls and tuned the feel while Claude wrote most of the code.

  • A Game About Capybaras Delivering Food: Three.js, Claude Code on Opus 4.7, Gold at Vibe Jam 2026. Leo tuned the feel and hand-built the map in an editor Claude wrote.
  • Legends of Future Past: The engine source for Jon Radoff’s 1992 CompuServe game was lost. Claude Code rebuilt it in a weekend from old scripts and a 1998 game-master manual. It has 2,273 rooms and is open source.
  • Babylonian Twins: Rabah Shihab moved 72,758 lines of 68000 assembly to Godot with Claude Code and Fable 5. The first draft took an evening. Tuning took weeks.
  • Slimeshot: Phaser 3 and Fable 5, about 120 hours. Every sprite started as a grid of letters that a Claude-built tool turned into pixels.

Slimeshot and Babylonian Twins both have Steam pages, and both are still listed as coming soon. Most finished Claude Code games are short web games and small itch.io releases. Claude can carry a small game to release. A 40-hour RPG is still a team-sized job.

Which engine works best with Claude Code?#

Claude Code works in a loop. It edits a file, runs something, reads what came back and decides what to do next. So the useful engine question is how much of your game Claude can read and run from a terminal.

Claude reads your project the way a new hire does on day one, through files. If a setting lives only in an editor window, Claude can’t see it unless a tool shows it.

EngineWhat Claude can readCan it run and check the game?Main route for Claude CodeBest fit
Godot 4Scripts and scenes, all textYes, headless from the terminalCommunity MCP serversSolo 2D and small 3D
Web (Phaser, Three.js)Everything, it’s all codeYes, in a browser with Playwright screenshotsPlaywright pluginJam games, browser games
Unity 6Scripts, plus scenes saved as YAML textYes, through the Unity CLI (beta)Unity CLI and Pipeline packageTeams already on Unity, mobile
Unreal 5.8C++ only, assets are binaryPartly, through an editor MCPEpic’s experimental Unreal MCPC++ projects with an experienced dev

Godot: the easiest engine for Claude#

Godot saves scenes as .tscn text files and runs without a window. The command line gives Claude --headless to run the game, --check-only to parse a script for errors and --write-movie to record frames. Claude can run the game, read the errors and fix them without you clicking anything.

In a 2025 test by Classmethod, Claude Code finished a Godot Tetris in about 30 minutes and three prompts. The same game in Unity was still unfinished after two hours.

The weak spot is model knowledge. Claude sometimes slips into Godot 3 syntax. Pin your Godot version in CLAUDE.md and the problem mostly goes away.

Unity: text files, editor problems#

You’ll read that Unity is hard for Claude because its scenes are binary. That’s wrong. Unity 6 saves assets in Force Text mode by default, so scenes and prefabs are YAML text.

Unity’s friction is in the editor. In the Classmethod test, Unity stalled on two things. Someone had to attach scripts to objects by hand, and a lighting setting rendered every block in monochrome.

Unity’s answer is the free Unity CLI, still in beta. It drives a running editor from the terminal, runs headless builds and runs your test suites. Unity says its direct commands are “faster and use fewer tokens than MCP.”

Unity has deprecated the MCP server inside its AI Assistant package. Guides that tell you to switch it on are out of date. Use the Unity CLI, or a third-party package like Unity-MCP, which the deprecation doesn’t affect.

Unreal: C++ yes, Blueprints barely#

Unreal stores assets and Blueprints as binary .uasset files. Claude reads and writes C++ well. Visual scripting is where it struggles. An Unreal developer on r/ClaudeCode put it plainly: LLMs “still struggle with visual programming like Unreal blueprints.”

Unreal Engine 5.8 added an official Unreal MCP that lets Claude work inside the editor. Epic labels it experimental and says “many features are incomplete or missing.”

One developer’s test of an Unreal MCP spent three minutes and about 45,000 tokens making two red cubes. Our Unreal 5.8 MCP guide covers the setup.

Can Claude Code run your game and read the errors?#

Yes. Some older guides say Claude can’t press play, but with a terminal it can launch the game and read the output.

Shihab’s Babylonian Twins port shows how. Claude Code built the game, launched it and read “what came back.” Then it added its own --probe and --screenshot flags.

Your engine decides which tools Claude gets:

  • Godot: godot-mcp gives Claude run_project and get_debug_output.
  • Unity: the Unity CLI runs your test suites.
  • Web: Playwright screenshots the game in a browser.

What Claude can’t check is feel. Shihab played the build every night because feel was never checked by machine.

Kyle Kukshtel, a developer on the Steam strategy game Cantata, puts it bluntly: “structurally, LLMs are bad at reading games.” A log tells Claude the jump fired. It can’t tell Claude the jump feels floaty.

How to set up Claude Code for game development#

  1. Get Claude Pro or higher. The free plan doesn’t include Claude Code.
  2. Open your project folder in a terminal, start claude and run /init. Claude scans the project and writes a first CLAUDE.md.
  3. Edit CLAUDE.md so it names your exact engine version and the commands that run and test the game. Template below.
  4. Connect the engine with the command in the table below.
  5. Commit to git after every change that works. When Claude breaks something, you roll back in one command.
EngineCommandYou need
Godotclaude mcp add godot -- npx @coding-solo/godot-mcpNode 18+, and Godot 4.4+ for the UID tools
Unityunity pipeline install, then unity mcp configure claudeThe Unity CLI and Unity 6.0 LTS or newer
Unreal/plugin install unreal-engine-skills-for-claude-code@claude-plugins-officialUnreal 5.8 with the Unreal MCP and All Toolsets plugins on

Here’s a lean CLAUDE.md for a Godot project. Every line gives Claude a fact or a command it would otherwise guess.

CLAUDE.md

# Game: [name]
Engine: Godot 4.7, GDScript 2.0. Never use Godot 3 syntax.
Run: godot --headless --path . --quit-after 600
Check a script: godot --headless --check-only --script res://[file].gd
Tests: [your test command]. Run them after every change.

Rules
- One mechanic per task. Show me the plan before you code.
- Ask before adding a plugin or dependency.
- Keep HANDOVER.md current: systems, decisions, known bugs.

You don’t need to trim MCP tools to fit a limit. Claude Code loads tool definitions only when it needs them, and Anthropic’s docs say it has no fixed per-server tool cap.

Claude Code Game Studios is the popular add-on. It gives Claude 49 agents and 74 skills that act like a small studio.

That structure costs tokens. One test on a tiny Godot game measured about $5 of usage with the template and about $0.15 without it. Use it for a real project. Skip it for a weekend prototype.

For more CLAUDE.md templates and copy-paste prompts, see our Claude game development guide.

What breaks when you build a game with Claude Code?#

What breaksWhat it looks likeFix
Feel and balanceNumbers that look fine and play badlyYou play every build and own the tuning
ArchitectureA change in one file breaks something three files awayTests for every mechanic, plus a handover file
Editor-only workWiring components in Unity, painting landscapes in UnrealUse the engine’s CLI or MCP, or do that step yourself
ArtAI images that need cropping, cleanup and resizingSeparate image tools, or sprites drawn in code
Version driftGodot 3 code in a Godot 4 projectPin the version in CLAUDE.md
ScopeA prototype that stalls when the game growsOne mechanic per session, small files

Balance is the one people warn about most. The developer of Cinderstead, a Stacklands-style game, wrote: “do not trust AI to balance stuff that requires actual gameplay.” Claude can tune a number to a target. It can’t play 50 runs and get bored.

Five habits from developers who finished a game#

The developers who ship describe the same five habits. Most of them give Claude a way to check its own work.

  1. Build the feel with plain shapes first. The developer of Hearthworks, a 3D survivors game, built movement, three spells and a boss with capsules and spheres. Art came only after the developer beat their own game.
  2. Give every mechanic a test. One solo developer building a 2D RPG in Godot has more than 400 tests and runs them headless after each change. They catch Claude breaking code it touched three files away.
  3. Let Claude check its own screenshots. Have it render the game to images and look before it shows you anything.
  4. Keep a handover file. Without one, a new session forgets why code is the way it is and “fixes” it back.
  5. Ask Claude to build tools. Leo calls Claude-built editors the “biggest multiplier” in the project. The LevelCraft developer shipped a smaller game, Ricochet, with its own level editor and website in 11 days of part-time work.

Claude does its best work when it can prove a change worked. “Make combat feel better” gives it nothing to check. “Dash covers four tiles in 0.2 seconds and can’t pass through walls” gives it a test. The more of your game you turn into checkable facts, the more of it Claude can build alone.

How much does Claude Code cost for game development?#

Claude Code comes with Claude’s paid plans. Your Claude Code use and your chat use share the same limits.

PlanPriceClaude CodeUsage
Free$0NoNone
Pro$20 a month, or $17 a month billed yearlyYesBase limits, reset every 5 hours and weekly
Max$100 a monthYes5x Pro
Ultra$200 a monthYes10x Pro per week, no 5-hour limit for verified accounts

Prices are from Claude’s pricing page. On Pro, the Fable 5 and 5.1 models run only on paid usage credits. Opus 5.5 and Sonnet 5.5 stay inside your plan. Type /usage in Claude Code to see where you stand.

What real projects spent:

  • Capybara jam winner: Leo topped up $100 to move to the 20x plan. Leo’s total for every AI tool, art and music included, came to $119.90.
  • Five small games in 50 days: a non-programmer spent $400 on AI and earned $4.99 in sales. Building a game got cheap. Selling one didn’t.
  • Pro plan, daily use: one developer working on Opus 5.5 budgets 14% of the weekly limit per day and uses it all every week.

So Pro works if you plan your sessions. If you build for four or five hours a day, expect to hit the limit and move to Max.

Claude Code vs Codex vs Cursor for games#

The Vibe Jam is the cleanest data point. Cursor sponsored it, and a Claude Code game won it. Unity’s official agent plugin lists Claude Code, Codex, Grok and Antigravity. Cursor isn’t on the list.

Developers who pay for both Claude Code and Codex describe a split. They build fast in Claude Code, then hand performance work to Codex. One wrote that Opus 5.5 “ships lots of working code that isn’t well-optimized.” Several $20-plan users say Claude gives them more usage per dollar. If frame pacing matters in your game, budget a cleanup pass whichever tool you pick.

Do you have to disclose AI when you sell your game?#

Code written with Claude Code is the easy case on every store. AI-made art, audio or text is where the rules start.

StoreDo you disclose?What counts
SteamYes, in the Content SurveyAI content that “ships with your game and is consumed by players,” such as art, sound and text. Live AI generation needs a description of your guardrails.
itch.ioRequired for asset packs, requested for gamesUntagged AI assets drop out of browse listings
Google PlayNo label for games made with AI toolsApps that generate AI content need in-app reporting
Apple App StoreNo label ruleYou need permission before sending personal data to a third-party AI

Valve’s page says tools that make development more efficient are “not the focus.” Valve also took “code” out of its list of examples in January 2026. AI art still needs disclosing.

Slimeshot shows the risk. Its Steam page discloses only AI help “with the codebase,” while its developer says Claude made the art too. Players screenshot gaps like that. If you’re worried about how players react, read our data on AI art backlash.

Will Claude Code build a clone of an existing game?#

It’s set up not to. In late October 2026, Anthropic added two sentences to Claude Code’s prompt on Opus 5.5, GameDeveloper.com reports. Claude now declines to build “a recreation of a specific existing game,” even under a new name.

Original games, games in an existing genre and games built from your own designs are fine.

Who owns the code Claude writes?#

You do, for the parts you shaped. US law draws the line like this:

  • Purely AI-generated material can’t be copyrighted, and prompts alone don’t make you the author, per the Copyright Office’s 2025 report.
  • Your own selection, arrangement and edits can be protected.
  • The Supreme Court declined to hear Thaler v. Perlmutter in March 2026, so the human-author rule stands.

Anthropic’s terms give you whatever rights exist in the output. If you plan to register a copyright, talk to a lawyer.

Start your first Claude Code game this weekend#

  1. Install Godot 4.7 and create an empty project.
  2. Paste the CLAUDE.md above and fill in the blanks.
  3. Ask for one mechanic with a number attached, like “a player that jumps three tiles high, plus a test that proves it.”
  4. Run the test, then play it yourself. Only then ask for the next mechanic.

FAQ#

Do I need to know how to code to make a game with Claude Code?#

No, to get a prototype. Yes, to finish something bigger. Non-programmers have shipped small games with Claude Code. Every larger success had someone who could read the code, spot bad structure and decide what to cut.

Is Godot or Unity better for Claude Code?#

Godot, for most solo developers. Its scenes are text, and it runs headless from one command, so Claude can check its own work. Unity is close behind now that the Unity CLI lets Claude drive the editor. Pick Unity if you already know it or need its mobile and console tools.

Can Claude Code make game art?#

Not on its own. Claude writes code, so it can draw sprites in code, generate sound from code or build tools that cut and fit images. Most Claude Code games pair it with an image or 3D generator, then clean up every asset by hand. See our guide to text-to-3D game assets for that side.

Which Claude model should I use for game development?#

Opus 5.5 is the common pick for daily building, and it runs inside Pro limits. Sonnet 5.5 is cheaper, and it wrote all 136,000 lines of one developer’s kids’ game. Fable 5.1 is Anthropic’s top-priced model, and on Pro it bills extra credits.

Is the $20 Claude Pro plan enough to make a game?#

For a small game, yes, if you plan sessions and use Sonnet for simple tasks. For daily multi-hour builds, plan on Max at $100.

Can I sell a game made with Claude Code on Steam?#

Yes. Fill in Steam’s Content Survey honestly, and disclose any AI-made art, sound or text that ships with the game. Valve no longer lists code among the AI content it asks about.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted