Uni-Sine
AI
+25XP
AICourses

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

SectionsTopicWhat you do
1 to 3Making a game by describing it, and picking a routeChoose the best library or engine for each game idea
4 to 5Letting the agent set up the projectMatch project files in Phaser, Godot and Unity to what they do
6 to 8The game loop and delta timeWork out a new position from velocity and delta time
9 to 12Describing mechanics and tuning by playtestingSort spec lines, then tune a jump so it clears a ledge
13 to 16AI art and sound, licences, and 3D with Blender MCPLearn what CC0 and CC BY allow, and export models as glTF
17 to 20Engines, errors, one feature at a time, and gitRead an error message, then save a checkpoint with git
21 to 23Design docs, publishing and game jamsPlan 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.

Guided courseLaws of MotionThe physics behind jumps, gravity and collisions in games: velocity, acceleration and momentum.

Common questions

Is this course free?
You can take every section without paying, two sections a day, in order. A plan removes the daily limit and opens any section straight away. The AI tools and engines you choose may have their own costs.
Can AI make a whole game?
A coding agent can write most of the code for a small game from clear descriptions. You still design the mechanics, playtest, tune and check its work, which is where this course spends most of its time.
Should I use Phaser, three.js, Godot or Unity?
For a small 2D browser game, Phaser. For 3D in a browser, three.js. For bigger games with an editor, physics and levels, an engine such as Godot or Unity. Libraries are easiest for an agent, because everything is in text files.
What is delta time in games?
The time since the last frame. Multiplying movement by delta time keeps speed the same whatever the frame rate, so the game plays the same on slow and fast computers.
Can I use AI-generated art in my game?
Check the licence and terms of the tool or asset first. Assets marked CC0 can be used for anything, and CC BY assets can be used if you credit the creator.
Where can I publish my game?
A web build runs in any browser, so you can host it on your own site or a game platform. itch.io is a common place to share games and find game jams.

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
Read next
AI · CoursesAI animation course: make videos with AI and codeAn AI animation course in 25 short sections: frames and fps, video as code with Remotion, AI-written SVGs, After Effects, Blender and AI voices.