Quest Builder
Build your own game step by step.
Students make every piece of their own game: the images, the world and the code. They can change anything AI makes until it fits, then play the game they built.

Meet Quest Builder
Students build a game piece by piece and finish with a game they made themselves and can play.
Ages: 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
What you can make: A playable game of their own
Devices: Laptop, Chromebook, Tablet
Browsers: All modern browsers
Accessibility: Text to Speech, Closed captioning, Keyboard and Screen Reader Accessible
Languages supported: English, Arabic, Bahasa Indonesian, Chinese Traditional, Czech, Farsi, Filipino, French, German, Hindi, Italian, Kannada, Korean, Marathi, Polish, Portuguese - Brazil, Slovak, Spanish - Latam, Spanish - Spain, Tamil, Telugu, Thai, Turkish
How it works
Students make every piece of their game.
A game has three pieces: the images, the world and the code that drives it. Students make all three.

Make the images
For the images, students choose whether to draw by hand or use AI. They can change anything AI makes until it fits their game.
Build the world
Students place their characters, treasures and platforms in each scene, then connect the scenes into one game. The world is built by students, with no AI.


Write the code
Students use event-based programming to decide what happens when sprites meet. The code is written by students, with no AI.
How does Quest Builder work behind the scenes?
In Quest Builder, students build their own game and can use AI-generated images for characters, objects, backgrounds, and blocks. Students can choose to draw their own images instead of using AI-generated ones, and they can edit the AI-generated images too.
No live AI is used; the AI-generated images were generated ahead of time and are stored on our server. A student constructs a prompt using a provided list of options; there are about 1,660 possible combinations. The lab then randomly picks from a collection of variant images for the constructed prompt; there are more than 13,000 variants. An animated character has 5 frames of movement images, making for over 43,000 images in total. The lab picks a random variant each time to simulate the variety that is typical of AI generation; it also simulates a delay, which is typical of AI generation, when retrieving this content.
The images were all generated using Gemini 3.1 Flash Image by Google. The frames of movement for an animated character were generated using the initial frame as the reference image, helping to keep the character consistent. The images were reviewed through a combination of human inspection and a third party content moderation service. The prompt used to generate an image is available in the “Behind the scenes” popup inside the tutorial.

AI is a choice, not a requirement
Students decide where AI helps, then judge whether what it made matches their prompt and the feel of their game. They can change anything AI makes, or draw it by hand instead.

Ready for the classroom
Quest Builder is a one-hour, teacher-led or independent activity, with teacher notes to guide you through it. Prompts are text-only, and hand drawings are never sent to AI.
Real game building
Students build in Web Lab, CodeAI’s game development lab.
Prompting skills
Students practice prompting by generating images for their game.
Fits one class period
The full activity runs in about an hour, start to finish.
Keep building
Students finish with a playable game they can continue building.
Every builder starts somewhere
Prepare to lead
Elevate Your Hour of AI is a 30-minute professional learning module that gives K–12 educators the foundational AI knowledge to feel confident to lead an Hour of AI. Available on the Microsoft Elevate platform.
Teaching high school?
In AI Makerspace, students in grades 9–12 build a website of their own with AI as a co-creator.
