Home › Guides › Vibe Coding Games: Make a Game by Chatting With AI

Vibe Coding Games: Make a Game by Chatting With AI

Vibe coding a game means describing it and steering by feel. Learn the play, notice, say, play again loop, which requests work and how to undo a bad change.

Updated December 2, 2026 · 1336 words · more on this topic

Vibe coding a game means you describe what you want, an AI agent writes the code, and you steer by how the game feels when you play it. The work is a loop: play, notice one thing, say it in a sentence, play again. It goes well when each message asks for one change with a number in it, and when you keep a short list of what is done and what comes next.

The term, in plain words

"Vibe coding" is a name for building software by conversation. You say what you want in ordinary words. An AI agent writes the code. You look at the result and react: this is too slow, that button is in the wrong place, this part is fun. You steer by feel, the way you would direct someone cooking for you. More salt, less heat.

Games suit this well, because the test for a game is a feeling. Nobody can read a file and know whether a jump is fun. Someone has to press the button. People who write games by hand also spend much of their time playing, frowning and changing a number.

It does not mean switching your judgement off. The agent cannot know what you find fun. You are the designer, and the game is as good as what you notice and say. The guide on text to game explains what the agent does with your words.

The loop: play, notice, say, play again

Play. Three full runs before you type. In the first run you are still learning the controls, so your reaction to it is unreliable.

Notice. Choose the one thing that bothers you most, and locate it: which second of the run, which object, which button.

Say. One message with what you saw and what you want instead. Add a number if you can.

Play again. The same three runs. Is the thing fixed? Did anything else change?

One turn takes a few minutes. Ten turns beat one long message with ten wishes in it, because you can tell which change did what.

These two descriptions have few rules and clear numbers, which makes them easy to steer:

A mobile game for Android. A frog sits on a lily pad. Hold the screen to charge a jump and release to leap to the next pad. The longer the hold, the longer the jump. Pads drift sideways and get smaller every five jumps. Landing in the water ends the run. One point per pad, two for landing in the centre. Show the score at the top and a game-over card with best score and Play again.

A browser game with keys and touch. I steer a small boat left and right on a river that scrolls down the screen. Rocks and logs appear, and the current gets faster every 20 seconds. Barrels are worth 10 points each. Hitting a rock costs one of three lives and plays a low tone. Show score and lives at the top and a Play again button when the lives run out.

For the formula behind them, see how to describe a game so AI builds it well.

Vague requests and useful ones

What people typeWhat the agent can act on
"Make it better.""The first 15 seconds are empty. Send the first rock after 2 seconds."
"The jump is weird.""The jump is too floaty. Make the frog fall about twice as fast."
"It's too hard.""I die before pad 10 every time. Keep the pads full size until pad 15."
"Fix the controls.""The boat keeps sliding after I let go. Stop it within a quarter of a second."
"Make it look nicer.""Use a dark blue river, pale sand banks and an orange boat."
"Add more stuff.""Add a whirlpool that pulls the boat toward it. One every 30 seconds."
"It's broken.""After I press Play again the score starts at 40, not at 0."
"It feels unfair.""I lose a life when a log is still a finger-width away. Make the boat's hit area smaller than its picture."

A useful request says where, what you saw and what you want. The number does not have to be right. It gives the next message something to push against: "that was too much, go halfway back."

Turning a feeling into a setting

Most complaints about feel map to a small set of settings. Knowing the map lets you ask for the fix directly.

  • Floaty. Gravity is too weak. Ask for a faster fall. A jump that reaches its top in about a third of a second feels snappy. One that takes a full second feels like the moon.
  • Late or stiff. The game ignores a press that comes a moment early. Ask that a jump pressed up to a tenth of a second before landing still counts.
  • Unfair. The hit area is as large as the picture or larger. Ask for one that is 70 to 80 percent of the picture, so near misses are forgiven.
  • Boring. Nothing changes. Ask for something new every 15 to 20 seconds: more speed, a new obstacle, a reward.
  • Lifeless. Actions have no answer. Ask for a brief screen shake on a hit and a pop when something is collected. A mobile game can also vibrate.

For speed that rises over a whole run, the guide on levels and a difficulty curve has the numbers.

When to read the code anyway

You never have to. The code is there if you are curious, and three moments make a look worthwhile.

You keep nudging the same number. After the third "a bit faster", ask the agent to list the current tuning values: speeds, gaps, timers. Then you can say "raise the fall speed from 900 to 1300".

A request has failed twice. Ask the agent to explain in plain words how that part works now. The explanation often shows the misunderstanding. You said "level" and meant a stage, and it understood a height.

You want to learn. Read one file with one question in mind, such as "where does the score go up?". Paid plans can download the complete source code.

How to keep a project from drifting

Drift shows around message thirty: the game has a shop, two currencies and a weather system, and the frog you started with is hard to find. These habits prevent it.

  • One change per message. Or one small group that belongs together.
  • Keep a list outside the chat. Three columns: done, next, later. An idea that arrives in the middle of a run goes into "later", not into the chat.
  • Write the game in one sentence and put it at the top of the list: "A frog game about judging jump length." An idea that does not serve the sentence waits.
  • Say what must stay. "Change only the pads. Do not touch the jump."
  • Replay the old parts. After each change, go once from the title screen to game over to Play again.
  • Finish the loop before the extras. Add a leaderboard or a shop only when the core is fun without them.

When a change breaks something

  1. Stop asking for new things. A second request on top of a broken game buries the cause.
  2. Report it like a witness. Say what you did, what happened and what you expected: "Since the whirlpool was added, the boat does not move left on touch. The keys still work."
  3. Ask for that fix only. "Fix only this and change nothing else."
  4. After two failed attempts, go back. The builder keeps a checkpoint of your project for each request, so you can return to the version from before the change. Then ask again in smaller steps.
  5. Write down what broke. Test that spot after every later change.

For other starting points, the game prompts library has forty descriptions to copy.

Run the loop once

Pick one of the two descriptions above, open the builder and go through the loop five times before you judge the game.

Frequently asked

What does vibe coding mean?

It means making software by describing what you want in plain words and steering the result by how it feels when you use it, while an AI agent writes the code. You judge the game, not the code.

Is vibe coding a game real programming?

A real program is written, but not by you. Your work is design: deciding the rules, playing the result and saying exactly what should change.

Do I ever need to read the code when vibe coding?

Not to make a game. It helps when you keep adjusting the same number, when a request has failed twice, or when you want to learn how the game works.

What do I do when a change breaks the game?

Stop adding things. Say what broke and what you did just before, and ask for that one fix. If that fails twice, go back to the checkpoint from before the change and ask again in smaller steps.

How many changes should I ask for in one message?

One, or a small group that belongs together, such as jump height and fall speed. Then play before you ask for the next, so you know which change caused what you feel.

Build it now — free to start

Type the idea, sign in, and the agent builds it in your browser. Change anything by describing it.

Open the builder ›