Guides / How to make a game with AI

How to make a game with AI

You describe the game, an AI coding agent writes and runs it, and AI tools make the models, sprites and sound. Here is the whole process, the tools for each step, and a weekend plan, taken from games that were actually shipped this way.

A low-poly bee game built with an AI coding agent and AI 3D models
The pipeline
  1. 1IdeaOne core loop
  2. 2EngineBrowser, Godot or Unity
  3. 3Code agentWrites and runs the game
  4. 4Art3D models or sprites
  5. 5SoundSFX and music
  6. 6Shipitch.io or a jam

1. Start with one core loop

The single biggest predictor of a finished AI-made game is a small idea. Write down the one thing the player does over and over, such as dodge, jump, place a tower or catch a bee, and what makes it get harder. Everything else is decoration you add later.

Stuck? Roll an idea and adapt it.

2. Pick an engine the agent can run

AI agents work best when they can start the game and read the errors. All four of these work well:

EngineGood whenLanguage
Three.js / TresJSFastest to share: the game is a link. Great for jams and small 3D games.JavaScript / TypeScript
PhaserBrowser 2D: platformers, arcade, puzzle games.JavaScript / TypeScript
GodotFree and open source, light, good 2D and solid 3D. Agents can drive it through MCP.GDScript or C#
UnityBiggest asset store and tutorials; good if you already know it.C#

3. Let a coding agent build it

A coding agent edits your project files, runs the game and fixes what broke. Start by asking for a scaffold and one test scene it can run after every change, then describe the mechanic. This is the exact first prompt from our 3D browser game in a weekend workflow:

Create a Nuxt 4 app with TresJS. Add a game loop, a third-person camera and a flat test level. Keep game state in one store.

Compare them all in the best vibe coding tools for games. If you use Godot, Unity, Unreal or Blender, add an MCP server so the agent can work inside the editor too.

4. Generate the art in one style

Consistency matters more than detail. Pick one style and reuse the same wording in every prompt. For 3D games, generate models with an AI 3D model generator and keep polygon counts low for the browser. For 2D, use a pixel art generator that outputs real grid-aligned pixels, then pack animations with a sprite sheet generator.

Example prompt from the same workflow:

cute round low-poly bee, game-ready, under 3k tris, warm palette

5. Add sound and music

Sound is what makes a prototype feel like a game. Generate ten to twenty short effects with an AI sound effect generator, plus one or two music loops from an AI music generator. Make several takes of the sounds you hear most and pick between them at random in-game.

6. Play-test, then ship

Watch someone else play for five minutes without helping. Fix the three things that confused them, add a start screen and an ending, and deploy. A browser game can go live on itch.io or any static host in minutes. Game jams that allow AI are the best deadline there is.

A weekend plan

  1. Evening 1Pick the idea and engine. Have the agent scaffold a project with one test scene it can run.
  2. Day 1, morningBuild the core mechanic. Change one thing at a time and play after every change.
  3. Day 1, afternoonGenerate characters, props or sprites in one style. Import and fix scale.
  4. Day 2, morningAdd sound effects and a music loop. Add a start screen and a lose / win state.
  5. Day 2, afternoonPlay-test with a friend, fix the top three problems, deploy, and post the link.

Games made this way, with their build logs

All games

Questions

Can I make a game with AI and no coding experience?

Yes, a small one. Coding agents and browser game makers can build a playable game from plain-language prompts. Learning to read errors and describe problems clearly is what gets you from a demo to a finished game.

Which AI is best for making games?

For writing the game, a coding agent that can run the project: Claude Code, Cursor, Codex or the open-source Cline. For assets, a dedicated tool per job, such as Meshy or Tripo for 3D, PixelLab for pixel art and ElevenLabs for sound.

How long does it take to make a game with AI?

A small jam-sized game can be playable in a weekend; the games in our list with a published build time range from hours to a few weeks. A polished commercial game still takes months.

Can I sell a game made with AI?

Generally yes, but check two things: the license terms of each AI tool you used, and the rules of the store or jam you submit to, since some require you to disclose AI use.