Make Games with AI: from first prompt to published game
Make Games with AI is a beginner's course that shows you how to make a game with AI, using a coding agent to write the code while you design and test. In 23 short sections it covers choosing a game library or engine, letting the agent set up the project, the game loop and delta time, describing mechanics exactly, tuning by playtesting, AI art and sound and their licences, 3D models with Blender, reading errors, git checkpoints, design docs and publishing.
It opens with a playable mini platformer beside the prompt that made it, and builds from there to a game you could enter in a game jam.
What the course covers
| Sections | Topic | What you do |
|---|---|---|
| 1 to 3 | Making a game by describing it, and picking a route | Choose the best library or engine for each game idea |
| 4 to 5 | Letting the agent set up the project | Match project files in Phaser, Godot and Unity to what they do |
| 6 to 8 | The game loop and delta time | Work out a new position from velocity and delta time |
| 9 to 12 | Describing mechanics and tuning by playtesting | Sort spec lines, then tune a jump so it clears a ledge |
| 13 to 16 | AI art and sound, licences, and 3D with Blender MCP | Learn what CC0 and CC BY allow, and export models as glTF |
| 17 to 20 | Engines, errors, one feature at a time, and git | Read an error message, then save a checkpoint with git |
| 21 to 23 | Design docs, publishing and game jams | Plan a web build and find your first jam |
Choosing a route
There are two ways to build. A game library is code you add to an ordinary web project, such as Phaser for 2D or three.js for 3D, so the whole game lives in text files the agent can edit and runs in a browser. A game engine such as Godot or Unity has its own editor where much of the game is built, so the agent needs an MCP server to work inside it.
How games work
Every game runs a loop many times a second: read the input, update the world, draw the picture. Because frames take different amounts of time on different computers, movement is multiplied by delta time, the time since the last frame, so a character crosses the screen at the same speed on a slow laptop and a fast PC.
Making it feel good, and shipping it
The course is honest that the first version rarely feels right. You describe each mechanic precisely, then playtest and change one number at a time, such as jump speed or gravity. For art and sound, AI tools can generate assets, but you check each licence: CC0 means free for anything, CC BY means free if you credit the creator. A short design doc keeps the agent consistent, and a web build lets anyone play.
Try a question from the course
Match the tool to the game. A simple 2D platformer you want to share as a link suits Phaser, which runs in a browser and keeps everything in text files. A 3D scene in a browser suits three.js. A bigger game with physics, levels and a visual editor suits an engine such as Godot or Unity.
Now pick the route for a new game idea, then press Mark to check your answer in the course.
Choose the best library or engine for each game idea.
Press Mark to have your answer marked in the Make Games with AI course.
Who this course is for
- Beginners with a game idea who have never coded and want to see it playable.
- Students and hobbyists who want a fast way into game development and game jams.
- Developers new to games who want the core ideas, such as the game loop and delta time, alongside working with an agent.
What you need to know first
No coding is required. You will install a code editor and an agent, type a few commands and use git, and the course walks through each. The Make Websites with AI course covers working with a coding agent in more depth, and helps if this is your first project.
How long it takes
There are 23 sections and most take a few minutes to read, though building your own game alongside takes longer. Learners without a plan can open two sections of a course a day, in order, so the whole course takes 12 days. A plan removes the daily limit and lets you jump straight to any section, such as Blender or publishing.
Common questions
Is this course free?
Can AI make a whole game?
Should I use Phaser, three.js, Godot or Unity?
What is delta time in games?
Can I use AI-generated art in my game?
Where can I publish my game?
Revision cards
Say the answer first, then flip the card to check it.
Where to go next
- Solve it
Code Editor
Write and run code right in your browser
Open the tool - Learn it
Make Games with AI
Build playable games with AI, from game libraries to Unity and Blender
Start the course