
Make a playable browser game with AI: pick a game type that works, write the prompt, generate sprites and sound, fix the feel, and publish it to a link or your own domain.
To make a game with AI, pick a simple browser-game genre (platformer, endless runner, puzzle, snake-style arcade, trivia), describe the rules, controls, win and lose conditions in one prompt, and let the AI generate an HTML5 game. Then tune the feel in small steps ("jump higher", "enemies 20% slower"), add AI-generated sprites and sound effects, and publish it to a link anyone can open in a browser. A first playable game takes about 30 minutes.

play.yourname.com needs one DNS record.AI is excellent at small 2D games with clear rules and poor at large 3D open worlds. Good first projects, roughly in order of difficulty:
| Game type | Why it works | Time to playable |
|---|---|---|
| Trivia or quiz game | Pure logic, no physics | 10 to 20 min |
| Snake, Breakout, Flappy-style | Well-known rules the AI has seen many times | 15 to 30 min |
| Endless runner | One mechanic (jump), procedural obstacles | 30 min |
| Match-3 or tile puzzle | Grid logic, satisfying with sound | 45 min to 2 h |
| Simple platformer | Physics and level design need tuning | 1 to 3 h |
| Top-down shooter or tower defense | Many systems interacting | Half a day and up |
3D is possible in the browser with three.js, but expect a lot more iteration. Start 2D, ship it, then go bigger.
Treat the prompt as a one-paragraph game design document:
/build A browser endless runner game called "Fox Dash". The player is a fox running right automatically. Controls: Space or tap to jump, double jump allowed. Obstacles: logs on the ground and birds in the air, spawned randomly, speed increases 5% every 10 seconds. Scoring: 1 point per 0.1 seconds survived, coins worth 10 points. Lose: touching any obstacle, then show score, best score saved in the browser, and a "Play again" button. Use simple colored shapes for now. 60 fps, works on mobile with touch.
Every line answers a question the AI would otherwise guess: who you control, how, what hurts you, how you score, how difficulty ramps, what happens when you lose, and which devices it must work on.
Play the shape version for two minutes. Is it fun? Is it fair? If the core loop is boring with rectangles, sprites will not save it. Fixing mechanics is a two-line prompt now and a painful one once there are animations hooked to everything.
"Make it feel better" gets random changes. Numeric feedback gets results:
Those last two are the kind of small tricks professional games use; ask the AI for "five game-feel improvements for this game" and try them one at a time. If one makes it worse, roll back to the previous version.
Now generate assets. In Krater you can do this without leaving the project:
/image with a consistent style line, for example "16-bit pixel art, side view, orange fox running, transparent background". Reuse the same style line for every asset so they match.Then tell /build: "Replace the player rectangle with fox.png, use jump.mp3 on jump, coin.mp3 on coin pickup." Ask for sprite-sheet animation only after static images work.
Most people who click a game link are on mobile. Check touch controls, that the canvas fits the screen in portrait and landscape, and that sounds start after the first tap (mobile browsers block audio until the user interacts). Ask the AI to add a "Tap to start" screen; it fixes the audio rule and gives players a moment to get ready.
Click Publish in Krater and the game is live at an address like fox-dash.krater.site. Anyone with the link can play instantly, no install, no app store. To make it yours, connect a custom domain such as play.yourstudio.com with one CNAME record; SSL is automatic. Updates are just new versions: improve it in the chat, publish again, and roll back if a change makes it worse. See how to publish a website and how to connect a custom domain.
Dedicated AI game makers (Rosebud and similar) offer game-specific templates and communities. A general builder like Krater gives you the strongest coding models, image, sound and music generation, and hosting in one subscription, and the same tool builds your game's landing page. If you only ever make games and want a community gallery, a dedicated maker is reasonable; if games are one of several things you build, one workspace is simpler.
AI can make a complete small game: rules, controls, scoring, menus, art and sound. Large commercial games still need teams, but jam-sized games are well within reach.
No. You describe the game and give feedback while playing. Basic understanding of what a game loop is helps you give better feedback, and you can read or edit the generated code if you want to learn.
AI can write Roblox Lua scripts and Minecraft mods, but those run inside their platforms with their own publishing rules. This guide covers browser games you own and host yourself.
Generally yes, but check the license terms of the tools you used for code and assets, and avoid prompting for copyrighted characters.
A browser game is a set of static files, so any website host works. In Krater it is one click to publish and one DNS record to use your own domain.
Paste the Fox Dash prompt above, then make it yours. Open Krater, type /build and describe what you want. Publishing to a live URL and connecting your own domain is included on Ultra ($49/month, 2 sites and 2 custom domains) and Max ($119/month, 5 and 5), together with 500+ AI models for everything else you do.
Start small, describe rules precisely, make it fun with rectangles, tune with numbers, then add AI art and sound and publish it to a link. The fastest way to learn game design with AI is to ship a tiny game this afternoon.
Sources: Krater /build, /image and audio command documentation; Sites plan limits. Prices and plan limits checked October 2026.