How to Vibe Code a Playable Game
Prototype one repeatable decision, give your coding assistant a testable change and publish a build another player can finish.
Give the first prompt an ending
Try a one-screen puzzle: clicking a tile changes its color, and matching a target pattern ends the round. Supply a starting board, a target and one sequence that should win. Ask for the smallest playable version. Save that working version before asking for timing, animation or another level.
Use a playtest as the next prompt
Start a round, win, restart and win again. If the second round ends instantly, describe that sequence and the expected fresh board. This gives the assistant a reproducible behavior to fix. For a 3D prototype, add a camera and a single obstacle only after movement and reset work on the intended device.
Show the mechanic and credit the tools
Compare the scale of four vibe coding examples. Pick a screenshot taken during a decision and describe what the player controls. List the tools you actually used and which parts they helped produce. Explore the vibe-coded games catalog or submit your finished build.
Save a clean baseline before changing the rules
- Play the initial board using the winning sequence you wrote in the brief.
- Try an incorrect move and check that it can't trigger the win condition.
- Restart without refreshing, solve it again and confirm the move counter clears.
- Open the same build on a second device using the intended input type.
- Commit that playable version. Change one thing, such as a second layout, and run the same checks.
When should I add art?
As soon as you know what information the player needs. For the first pass, make the current state, target and success distinguishable. Replace the temporary visuals once a new player can explain the rules after one round.