30 of the very best vibe coding tips for avoiding headaches in Cursor and becoming your own game studio.
I've studied vibe coders for weeks to collect all the do's and don'ts of developing AI games in Cursor.
Here are 30 of the best tips I've found:
Before using Claude to code, use Grok 3 or ChatGPT o1-pro to write a plan.
This might include a PRD (product requirements document), tech stack specifications, guidelines for front- and back-end code, and more:
These custom instructions guide the AI’s behavior across your entire codebase —for example, by telling it to follow specific naming conventions or avoid modifying particular files.
Here's a great setup guide:
Starting off on the right foot is huge.
The video below demonstrates this with a platform called Rosebud AI, but to do this in Cursor, run Claude on the same initial prompt multiple times & direct each response into its own version folder.
Make a new version of an already-popular game.
This will let you skip the validation process while also increasing the odds your game will get mentioned by the original creators.
Here's a thread of viral AI games:
Three.js is a JavaScript library that simplifies the process of creating and displaying 3D graphics in the browser.
It lets you quickly bring your creative 3D ideas to life with intuitive APIs, a huge ecosystem of examples, and support for things like lighting, physics, and model loading:
Trellis is a tool that makes it easy to generate stylized 3D characters you can customize for your game or experience.
And Mixamo lets you rig and animate those characters instantly, giving them lifelike motion with no manual animation work required.
Here's a guide:
Sketchfab is an online platform for discovering, viewing, and downloading 3D models.
A lot of artists and developers use it to source assets for games, VR, and other 3D projects:
AmmoJS is a physics engine that simulates rigid body dynamics, soft body physics (e.g. cloth, jelly), collision detection, vehicle physics, and constraints (e.g. hinges, springs).
CannonJS is an older alternative that's really popular:
Instead, try using VueJS, or avoid engines altogether:
Procedural generation is a technique where content like textures, terrain, or water is created algorithmically rather than manually — which allows for dynamic, often infinite variations with minimal asset creation.
This can reduce your game’s download size on web browsers while making your landscapes look more natural:
Sometimes it’s difficult to describe game mechanics using only text-based prompts.
Attach images to your prompts to cover all the bases:
“Vibe debugging” can be painful because current models don’t know how to stop digging when they take the wrong approach.
Save time by creating a long breadcrumb trail of commits you can revert to when times get tough:
Make an educational game.
It’s hard to make a game that’s more fun than other games. But it’s easy to make a game that’s more fun than generic educational material:
Suno is an AI-powered music generator that lets you create custom songs or background tracks from text prompts.
It makes it easy to add original audio to your game without needing a composer:
Tone.js is a JavaScript library for creating interactive and dynamic sound effects in the browser.
It can give you fine control over audio synthesis, timing, and effects for your game:
Try sourcing voices from the massive voice library on ElevenLabs.
Or record a conversation with one of the many Grok Voice Mode personalities:
This will let you be more productive between prompts.
The vibe coder below explains how to set notifications up with a custom MCP server for Cursor:
During your downtime waiting for Cursor to generate code, use a separate chatbot to help you craft your next prompt:
Start telling Cursor to make small, local changes as your codebase grows. Additionally, tell it to use separate files for separate responsibilities:
Tell Cursor to do this with Python websockets or WebRTC:
This way, users will be able to talk to each other:
Make a game on a controversial news topic (e.g. politics) to get traction fast.
It won’t be for everybody of course, but the people who DO like it will like it a LOT — and many of them will want to share it with their friends:
By default, Claude will build your game for the web, but lots of users will want to play it on their mobile devices.
Most modern browsers have developer tools that allow you to test-drive your app for mobile:
Use a library like nippleJS to add a virtual joystick for mobile devices.
This is especially useful for 3D games where characters or vehicles need to be able to move around while shooting:
Tell Cursor to write unit and integration tests.
Here's the testing workflow that Matthew Berman — an indie hacker with a popular YouTube channel — uses for his games:
Find ways to also incorporate AI as an in-game feature:
This way you can partner up with other indie hackers and co-promote each other’s games for more traction.
In most cases, you can handle this simply by replying to comments and posting a poll on X.
But if you have a larger user base, consider using an app like Featurebase to let users vote on your product roadmap and submit bug requests:
Hugging Face is a platform best known for hosting and sharing AI models, but it also supports deploying interactive web apps—including games—using tools like Spaces.
Deploying your game there for free gives you a public URL, easy version control, and built-in exposure to a tech-savvy community:
Make a game based on a popular board game.
The game below was inspired by “Settlers of Catan”:
Nice guide, thanks. But I still don't get why people would play those games as there are already tons of free games of any genres.
One reason is discoverability.
hmm... discoverability of what?
This is super interesting! I’ve been exploring AI-assisted development lately, but hadn’t considered using Cursor for game development. The idea of combining generative AI with interactive game logic opens up so many creative possibilities.
Would love to hear from anyone who’s actually built a playable game this way — curious about the limitations and what kind of workflows actually feel smooth in Cursor.
Has anyone actually made any serious revenue by doing this? My experience is that getting noticed by enough people to seed some initial traction is basically the hard part, especially now that thanks to vibe coding, building is the easy part. Game studios don't often win because they have the games, they win because they have the marketing channels.
This guide is insanely useful for anyone trying to turn AI into playable magic. Love how it goes beyond coding and dives into actual game design workflows — especially the idea of running multiple prompts to create versioned prototypes. Cursor just became a game dev superpower
This guide is super helpful for anyone looking to build AI-powered games with Cursor! The step-by-step breakdown makes it easy to follow. Thanks for sharing such valuable insights!
insightful collection of different way to get started with Game Development using AI.