
To make a game with ChatGPT, first use it as a designer to plan one small game, then prototype it in Canvas, and finally connect ChatGPT and Codex to iDos Games so the game gets accounts, saved progress, a store and its own link. ChatGPT alone writes the code; the connector gives it a backend and hosting, so the result is a game other people can play, not a file on your computer.
Most "make a game with ChatGPT" guides stop when a Snake clone runs in the preview. That is a real milestone, and also where the hard part begins. This guide goes from the first idea to a published game, and says where each tool fits.
Three roles ChatGPT can play
| Role | What you ask | What you get |
|---|---|---|
| Game designer | "Help me design a small arcade game" | rules, core loop, a one-page design document |
| Prototyper | "Write it as one HTML file with Phaser" | a playable demo in Canvas |
| Game operator (with the connector) | "Create a store with three coin packs" | real settings in a live game |
Codex adds a fourth role, programmer on a real project, covered in step 5.
Step 01Design the game in chat
Before any code, talk the idea through. Ask ChatGPT to find the core loop and cut everything else:
I want a browser game about a fox that steals cheese from a farm. Suggest three versions of the core loop that fit in one screen, then pick the simplest and write a one-page design: goal, controls, how you lose, what makes the next round harder.
You get a short design document. Keep it: you will paste it into every later step, and it stops the AI from drifting into features you never asked for. Good first games have one action the player repeats: dodge, match, tap, aim.
Step 02Prototype in Canvas
Ask for a playable version that runs right in ChatGPT:
Using this design, write the game as a single HTML file with Phaser. Arrow keys on desktop, swipe on mobile. Placeholder shapes, no images.
Play it in the preview and give feedback one thing at a time: "the fox is too slow", "the farmer should speed up every 20 seconds". When something breaks, paste the exact error. This loop is where ChatGPT is at its best, and it is free of any platform.
Step 03Know what the prototype is missing
The prototype is a toy until it gets the parts every real game needs:
- accounts, so a player keeps progress on a new phone;
- saved progress and inventory on a server, not in the browser;
- a store where prices are checked by a server, not stored in the page;
- leaderboards, quests and daily rewards that bring players back;
- hosting at a link you can share.
ChatGPT can write any of these, but each one is a backend project. On iDos Games they already exist, and ChatGPT can use them through the connector.
Step 04Create the game and connect ChatGPT
Open Create, paste your design document as the idea and answer a few questions. The platform picks a starting template, and the AI coder makes a playable first version: see create with AI.
Then add a custom connector in ChatGPT with the address:
https://site.idosgames.com/api/v2/mcpOn first use ChatGPT asks you to sign in to iDos Games and pick the apps it may work with. No API keys. The exact menu path is on idosgames.com/mcp. Now you can run the game's economy from the chat:
- "Create a store with three coin packs and a free daily gift."
- "Make three daily quests: for wins, for purchases and for upgrades."
- "Add a weekly leaderboard by best score."
- "Generate an icon for the cheese item and put it into the store."
These are server settings, so they change in the live game without a new build.
Step 05Let Codex write the code
For changes in the game code, connect Codex to both iDos Games servers:
codex mcp add idosgames --url https://site.idosgames.com/api/v2/mcp
codex mcp add idosgames-registry -- npx -y @idosgames/mcpAsk it to load the skill idosgames-getting-started and build your app from the design document. It uses the ready
modules and the TypeScript SDK instead of writing a backend from scratch, and Phaser code
from your Canvas prototype carries over. All options for agents: building with AI agents over
MCP.
Step 06Test and publish
Build the game, upload the build to the test copy and give me the link.
Play it on a phone, fix what feels wrong, then ask to deploy the tested build. The game goes live at
{id}.idos.games, and you can list it in the idosgames.com catalog when you are ready. A
rollback is one click in the dashboard.
Prompts that save time
- Paste the design document at the start of every new chat. ChatGPT forgets; the document does not.
- Ask for the whole changed file while you prototype, not a fragment you have to place yourself.
- Describe the symptom, not your guess. "The score resets when I pause" beats "fix the score variable".
- Keep numbers out of the code once the game is live: prices, rewards and drop rates belong in server settings.
Common mistakes
- Asking for the dream game first. Open world plus crafting plus online battles never finishes. One loop first.
- Polishing art before the game is fun. Shapes are enough until people want to play another round.
- Keeping the store in the browser. Anyone can open the developer tools and give themselves coins.
- Never testing on a phone. Most people open a shared link on one.
If you would rather not juggle tools
The built-in AI coder of iDos Games does steps 2 to 6 in one place, in the browser: how to make a game with AI. Developers who live in the terminal can use the same platform with Claude Code.

About the author
Aidos RyskeldinovFounder of iDos Games
Lifelong gamer and tech enthusiast. Since 2020 I have been building and shipping cross-platform games and apps, and today I'm building iDos Games: a platform where anyone can make a game with AI, put it live at its own link and earn from it. Here I share how to make games faster and easier than you'd think.
Frequently asked questions
Can ChatGPT make a whole game by itself?
It writes a small game in one HTML file well. A real game also needs accounts, saved progress, a store and hosting. Connected to iDos Games, ChatGPT gets these as ready parts and a place where the game goes live.
Do I need an API key to connect ChatGPT?
No. You add iDos Games as a custom connector, sign in in the browser and choose which apps ChatGPT may work with. Custom connectors depend on your ChatGPT plan.
What is the difference between ChatGPT and Codex here?
ChatGPT in the chat changes the settings of your app: store, quests, leaderboards, assets, releases. Codex works with the code itself: it builds the project with the SDK and uploads builds.
Which game engine should I ask ChatGPT for?
For a browser game, plain TypeScript with Phaser for 2D or three.js for 3D. Both are ready in iDos Games projects, so code from a prototype moves over without a new engine.
Does the same setup work with Claude or Cursor?
Yes. Both iDos Games MCP servers work with any MCP client; the setup for each one is on idosgames.com/mcp.
Learn more in the documentation
- Build with AI agents over MCPConnect iDos Games to Claude, ChatGPT, Claude Code, Cursor or any MCP client - one remote server works with your live apps, a local one gives agents the SDK modules and skills.
- TypeScript SDK and project structureHow an iDos Games project is built - the @idosgames npm packages, a host shell with sign-in and lobby, feature modules for systems and games, and one config file for the look.
- Create a game or app with AIHow to turn an idea into a working browser game or app on iDos Games - describe it, answer a few questions, then refine it with the AI coder in a live preview.
Make your own game
Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.
All articles
AI agentsHow to make a game with Claude Code and ship itHow to make a game with Claude Code: connect two MCP servers, start from a ready project with accounts and a store, generate art, and deploy to your own link.
Aidos Ryskeldinov6 min read
MonetizationHow much money can you make from a gameHow much money can you make from a game on iDos Games: income from Aspis sales, rewarded ads in the app, token fees and remixes, plus a live earnings board.
Aidos Ryskeldinov5 min read
MonetizationHow much money can you make from an appHow much money can you make from an app on iDos Games: premium and paid features for Aspis, AI features users pay for, rewarded ads and a live earnings board.
Aidos Ryskeldinov5 min read