A research guide to the tools, workflows, and craft of building genuinely good games with LLMs — synthesized from current (2026) practitioner guides, community showcases, and real shipped projects.
Compiled September 2026Research & HTML by Hermes Agent
1The 2026 Landscape
Making a game with AI is no longer a question of technical skill — it's a question of knowing what to build and which tool to use. Three things converged to make this the best time ever to start:
Vibe coding went mainstream. AI coding assistants (Cursor, Claude Code, ChatGPT) generate entire games from plain-English descriptions. You describe, the AI writes, you play-test.
Engines absorbed AI. Unity, Godot, Unreal, and browser engines now have AI-native or AI-assisted workflows that write scripts, generate assets, and debug in real time — some via MCP servers that let agents drive the editor directly.
The community exploded. r/vibecoding (153K+ members) and r/aigamedev (27K+ members) are full of first-time makers shipping playable games. A 2025 Google Cloud survey found ~90% of game developers already use AI somewhere in their workflow.
⏱ The time collapse
AI has collapsed the distance between "I have a game idea" and "people are playing my game" from months to hours. A simple browser game: 2–6 hours. A polished game with custom art and levels: a weekend to a week.
2Four Approaches — Pick Based on Your Goal
① Vibe-code a browser game (best for beginners)
Describe the game to an AI assistant; it generates HTML/CSS/JS that runs in any browser. No installs, no engine, no prior coding. Claude is particularly strong at complete single-file HTML5 canvas games; Cursor excels at iterative back-and-forth.
② AI-native / AI-assisted engine
Summer Engine (AI-native, Godot 4-compatible), Godot + AI plugins, Unity + AI Copilot, Unreal + MCP. The AI builds scenes, attaches scripts, wires physics and input inside the project — no copy-paste wiring step. Choose when you need real physics, 3D, or Steam/mobile export.
③ LLM-powered game (AI as game component)
The AI isn't just the builder — it's inside the game: generating narrative, dialogue, and events in real time via the OpenAI/Anthropic/local-model APIs. Uniquely possible in this era. Cost is fractions of a cent per interaction with small models.
④ No-code + AI hybrid
GDevelop, Construct, RPG Maker — visual drag-and-drop builders where AI generates the complex logic. Less flexible, but zero code files. Good for people who want nothing to do with a text editor.
🤖 The one decision that matters more than the model
Where does the AI work? A chat model writes code and hands you files — then you create the project, paste scripts, fix import paths, and wire nodes. An AI-native engine builds the scene, writes and attaches the movement script, sets up the physics body, binds input, and hands you a build to press play on. For anything past the first prompt, the second option holds up far better: the AI works against a running game, not a blank file.
Choosing a first project by difficulty
Tier
Project
Time with AI
Beginner
Text adventure / interactive fiction
2–3 hours
Quiz or trivia game
2–4 hours
Snake / Pong / Breakout clone
3–5 hours
Card game (memory match, solitaire)
4–6 hours
Intermediate
Platformer with level design
1–2 days
Tower defense
2–3 days
Turn-based RPG
3–5 days
Puzzle game with original mechanics
2–4 days
Advanced
Multiplayer browser game
1 week+
3D game (Three.js / Unity)
Weeks; camera + lighting + physics
LLM-driven dynamic-content game
Technically demanding, uniquely 2026
3The Core Workflow That Works
Synthesized from practitioner guides, this is the loop that consistently produces finished games:
Step 1 — Compress your idea into one sentence
Write your core loop as a single sentence with three parts: the player, the action, and the condition that ends a round.
"A 2D platformer where I jump between platforms and collect coins, and I fall off the bottom to lose."
"A top-down shooter where I move with WASD, aim with the mouse, and survive waves of enemies."
"A survivors-style game where enemies swarm me, I auto-attack, and I level up by collecting gems."
Notice what these leave out: story, art, menus, sound, levels. Those come later. The first prompt exists to get a running game on screen, because AI works far better against a build it can reason about than a blank file.
🚫 The #1 killer: front-loading the dream
"An open-world RPG with crafting, dialogue, a day-night cycle, and three factions" is not a brief — it's a five-year plan. It gives the AI no playable target and no place to start. Scope kills more first games than technical difficulty. Compress first; expand after it runs.
Step 2 — Start from a template, not an empty project
A blank project forces the AI to invent your player controller, camera, input, and physics from the prompt alone — and every invented piece is a place for an early bug you never asked for. Starting from the closest genre template (platformer, survivors-like, RPG, sim, puzzle-grid) means foundational systems are already correct and your first prompt becomes "change the character to a wizard and make the coins into mana crystals" instead of "build a platformer from nothing." Small, specific prompts are where AI is strongest.
Step 3 — Prompt the core loop, then press play immediately
🔁 The golden rule: one change → play → observe → next change
When you change one thing and test one thing, a bug has exactly one suspect. When you batch ten changes, you're debugging a haystack the AI built while you weren't watching. Pressing play after every prompt feels slow for ten minutes — then it saves you the afternoon.
After the base loop runs, add mechanics one at a time, playing after each:
// Each of these is a single, testable step:
"Add a double jump."
"Make enemies drop a coin when killed."
"Add a health bar in the top left that goes down when I touch an enemy."
"When my health hits zero, show a game over screen with a restart button."
Step 4 — Generate the assets too, but direct them
Art, sound effects, and music can all be generated in the same conversation (see section 5). The honest caveat: art direction is where AI follows rather than leads. Decide the style yourself, describe it precisely, and treat output as a strong first pass.
Step 5 — Playtest like the AI cannot
AI builds the scaffold in minutes so you can spend your hours on the part it can't do: judging whether the game is fun (section 6).
Step 6 — Export the real thing
A prototype that only runs in a preview is a demo, not a game. Before investing hours, confirm your tool allows commercial use and native export — many browser-based AI game tools cap generations, watermark builds, or lock export behind a paywall. That's a hard wall to hit after the game is finished.
4The Prompting Craft
Writing a game with AI is closer to working with a fast, literal collaborator who builds exactly what you write — including the parts you didn't mean. The skill that decides success is how you write the request, not whether you can code.
The anatomy of a good mechanic prompt
The thing. Which exact node/object: the Player, the Enemy, the Coin.
The trigger. What starts it: a key press, collision, timer, game start.
The result. What happens — with real numbers and names.
The feedback. What the player sees/hears so the change is visible.
// The whole pattern in one sentence:
"When the Player collides with a Coin, remove the Coin, add 1 to the
score, and play the pickup sound."
Vague vs. precise — same intent, different outcomes
✗ Vague (forces the AI to guess)
"Make the player move and feel good and have nice physics."
"Make the movement feel better."
"Make me a game."
A whole system in one message → the AI makes a dozen unstated design decisions, and you can't tell which one caused the bug.
✓ Precise (nothing left to get wrong)
"Make the Player move left and right at 300 pixels per second with the arrow keys, and stop instantly when I let go."
"Make the Player jump 400 pixels high when I press space, and play the jump sound."
Names the node, the speed, the keys, the stop behavior — every value pinned down.
An example of a strong first prompt for a single-file game
"Create a complete Breakout/brick-breaker game in a single HTML file.
Requirements: HTML5 canvas sized 800x600. Paddle at the bottom controlled
by mouse movement. Ball bounces off walls, paddle, and bricks. 5 rows of
8 bricks in different colors. Score display. 3 lives. Game over and
victory screens. Smooth 60fps animation. Clean visual style with a dark
blue background."
Think of your prompt as a mini design document: mechanics, dimensions, controls, and visual style. Ten minutes writing a detailed prompt saves hours of back-and-forth fixes.
Iterating: expect 70–80% right, then fix in small loops
"The ball clips through bricks when moving fast. Fix the collision detection."
"Add a power-up that drops randomly from broken bricks — one widens the paddle,
one adds a second ball."
"Add sound effects using the Web Audio API. A thud on brick hit, a ping on paddle."
"The game feels too easy. Make ball speed increase 5% every 10 bricks destroyed."
Each prompt-and-fix cycle takes 2–5 minutes. After 10–15 rounds you have something that feels like a real game.
🐞 Write bug reports, not bug guesses
When something breaks, resist stating a theory of the cause. A wrong guess sends the AI off fixing the wrong thing.
✗ "The jump code is broken. Fix the physics."
✓ "When I press space, the Player rises about half as high as before and then falls through the floor."
Describe what you saw on screen, when, and what you expected instead. Clear symptoms get clean fixes; confident wrong theories get the wrong file edited.
5AI-Generated Assets: Art, Audio, 3D
A game is not only code. A practical 2026 solo-dev asset stack looks like this:
Asset type
What AI does well
Tools (2026)
2D sprites & animation
Full spritesheets (idle / walk / run / attack / hit / death), looping or one-shot, generated in your game's style and dropped straight into the engine.
🎨 Art direction is a human job
Generated art gives you a consistent, usable starting point fast — but AI follows style, it doesn't choose one. A coherent look across the whole game is a human decision the AI executes. Decide the style yourself, describe it precisely in every asset prompt, and treat outputs as a strong first pass you can swap later.
6What AI Cannot Do: Game Design
AI writes the game; it does not have taste. It will build exactly the difficulty curve, scope, and feel you describe — including a boring one — and it will never tell you the game isn't fun. These fundamentals stay yours:
Game feel
The responsiveness between input and action. Heavy or floaty? Do collisions land with impact? Play-test and tune values (gravity, speed, acceleration) until movement feels right — the AI implements, you judge.
Difficulty curve
Too easy is boring; too hard is frustrating. The sweet spot: constantly challenged, rarely stuck. Deciding the shape of the curve requires playtesting with real people.
Player feedback
Every action needs a visible response: button → animation, hit → screen shake/flash, score → number pop-and-fade. AI can implement any pattern you describe; spotting where feedback is missing is your job.
Scope management
The most important design skill: knowing what to cut. First game = one thing done well, not ten things done poorly. New feature idea? Ask: does it make the core mechanic more fun, or is it a distraction?
Turning feel into prompts
Play your game repeatedly, watch someone else play it (without explaining anything — if you have to explain, the design needs work), then convert what you felt into specific prompts:
"The jump feels too floaty — reduce air time by about thirty percent."
"Enemies spawn too fast in the first wave — halve the early spawn rate."
A structural lesson from shipped LLM games
⚙️ Rules layer > model rulings
Early AI-driven games failed in a predictable way: with the LLM deciding outcomes, nothing was ever really at stake — a player who argued well could talk their way into any result. The fix was structural, not prompt-level: outcomes live in a rules layer the model cannot overrule, and the model keeps the writing. (Pattern from HowWorks' shipped AI games: AI opponents invent their own bluffs, but who wins the round is settled in code.)
7Proof It Works: Real AI-Built Games
From the awesome-ai-built-games curated list and community showcases — games built mostly by prompting LLMs, spanning every genre:
One-shot wonders:Space Defenders — a Space Invaders-like built in a single shot with Sonnet 3.7. Frontier 2026 models have produced full Fall Guys-style 3D clones with sound effects and working obstacle mechanics from a single prompt.
3D & sims:Duke Nukem 3D 2025 (Grok + Claude), Formula Simulator Racing, Mars Landing Simulator, VibeSail (sailing sim), Earth Simulation (climate, tectonics, evolution, civilizations).
Multiplayer:Block World Multiplayer (battle-royale platformer), Oasis (Minecraft-inspired multiplayer), ShooterWorldAI and Combat Mission (FPS), Artbitrator (real-time AI-judged quickdraw drawing battles).
Polished arcade:Oyster Arcade — a retro web arcade with a CRT-tube cabinet, built end-to-end with Claude Code; Suika Game (fruit-merging, built with Cursor/Claude); Flappi Bird (Three.js + AI tools for models, music, graphics).
AI-native gameplay:AI Dungeon (LLM text adventure with unlimited possibilities), Word God (combine words to evolve a universe), Macro Data Refinement (Severance sim).
Browse the full list: github.com/lappemic/awesome-ai-built-games. Daily AI-generated game directories also exist (GameDaily.ai publishes a brand-new AI-made browser game every day; Whimcade builds games from one-paragraph prompts).
Frameworks that connect AI agents to engines
Godot-MCP — open-source MCP server connecting AI agents to the Godot editor/runtime (Godot 4.x, C#).
Unity-MCP — 100+ built-in tools connecting agents to the Unity editor and runtime.
viber3d — starter kit for 3D browser games on React Three Fiber / Three.js.
8Common Mistakes (and How to Avoid Them)
Mistake
Fix
Starting too ambitious
Your first game should take hours, not weeks. Make Snake before you make Stardew Valley.
Not playtesting
AI code compiles and runs — that doesn't mean it's fun. Iterate on the feel, not just the features.
Weak prompts
Prompt quality is the single biggest factor in game quality. Specific mechanics, dimensions, controls, visual style.
Batching many changes
One mechanic per prompt, play after each. A bug should always have exactly one suspect.
Adding features instead of polishing
A simple game that feels great beats a complex game that feels janky. Before "add multiplayer," ask "is single-player excellent yet?"
Not reading the generated code
Skim it. After a few games you'll recognize patterns — and your prompts get dramatically better.
Ignoring licensing before investing hours
Check commercial-use rights, generation caps, watermarks, and export locks before building something you intend to ship.
9Shipping & Finding Players
Host free: single HTML file → GitHub Pages (instant free hosting + shareable URL), Netlify, or itch.io.
itch.io — the home of indie games; free to host, built-in audience for experimental work.
Reddit: r/indiegaming, r/WebGames, r/vibecoding, r/gamedev — post a playable link with a short build story.
Record a 15-second GIF — gameplay footage gets ~10× more clicks than text.
Write a one-paragraph build story — "I had zero coding experience. I used Claude to build a brick-breaker in 4 hours. Here's what I learned." People love build stories.
Open-source it — feedback, credibility, and it helps the next beginner.
Where this leads
Game jams — Ludum Dare, GMTK Jam: complete games in 48 hours with a theme constraint, perfect for AI-assisted dev.
Deeper AI integration — procedural content generation, adaptive difficulty, opponents that learn from player behavior.
Commercial publishing — Steam or app stores; AI handles code while you focus on art, sound, and polish.
GitHub — awesome-ai-built-games (curated list of real AI-built games, tools & frameworks)
Spritesheets.ai — Best AI Tools for Game Developers in 2026; GamineAI — Best AI Tools 2026 & 25 AI Prompts for Game Devs; Ludo.ai; Summer Engine — AI Tools for Indie Game Developers (The Honest 2026 Stack) (asset/tool-stack details)
Community scale figures: r/vibecoding, r/aigamedev; Google Cloud 2025 game-dev AI survey (via HowWorks)