Vibe coding a game: what works and what does not
Vibe coding a game means describing what you want and letting an AI write all of the code, then steering by playing and giving feedback. It works well for small 2D games with clear rules. It goes wrong when nothing tests the game between changes, which is the part a tool built for games takes care of.
The idea
What vibe coding a game looks like
You state the idea, the AI writes the game, you play it, and you say what feels wrong. You judge the result and leave the code alone.
Games suit this well, because the test of a game is playing it. You do not need to read code to know a jump is too floaty.
Where it breaks
Why vibe-coded games fall apart, and the fix
The usual failure comes around the tenth change: a new feature quietly breaks an old one, and nobody notices until three changes later.
The fix is to run the game after every change and to keep every version. Gameable's agent starts each build in a real browser and plays it before handing it over, and saves a version after each change so you can step back.
- Ask for one change per message, so a fault has one possible cause.
- Play after every change, not after five.
- Report faults as what you did and what happened: "I pressed jump on the moving platform and fell through".
- Go back a version when a change made things worse, and ask again in different words.
Two routes
A code editor or a game maker
With an AI coding assistant in an editor you own the project: the files, the engine, the build and the hosting. That suits people who can read the code when the AI gets stuck.
A game maker such as Gameable hides the project. You get art, testing, saved versions and a public link without setting anything up, and you accept its limits: 2D browser games, changed through the chat.
Example prompts
Prompts you can copy
Paste one of these into Gameable, or change the details to make it your own.
Start small
“A one-screen game where I steer a paper boat down a gutter, dodging leaves and collecting coins. It speeds up over time and ends when I hit three leaves.”
Then one change
“Add a rain cloud that follows the boat and drops a puddle every five seconds. Puddles slow the boat for one second.”
Then a fault report
“When I collect a coin while slowed by a puddle, the boat stays slow forever. It should go back to normal speed after one second.”
FAQ
Common questions
What is vibe coding a game?
It is making a game by describing it to an AI and letting the AI write all of the code. You steer by playing the result and giving feedback in plain words, without reading or editing the code yourself.
Can you vibe code a whole game?
A small one, yes: a complete 2D game with a title screen, rules, scoring and an ending. Larger games are built up over many small changes, and they need testing after each one to stay working.
Do I need to know how to code to vibe code a game?
Not with a game maker, which runs, tests and hosts the game for you. With a general coding assistant, some coding knowledge helps when the AI gets stuck on a fault.
Is Gameable a vibe coding tool?
Yes, for games. You describe a game and change it by chatting, and an AI agent writes and tests all of the code. It makes 2D browser games and publishes them with a link.
Written by the Gameable team. Last updated .
Read next
More about making games with AI
Can AI make a game?
What AI builds well today and where it stops.
Text to game
What a one-sentence prompt turns into, with prompts to copy.
AI game maker
Every type of game Gameable builds, with limits and common questions.
Your game is one sentence away
Describe it, play it a few minutes later, and share it with a link. No coding and nothing to install.