Make it with AI · Week 01
Meet AI. Make a game.
Our first playable games
Lesson 01 · 60 minutes · Same tasks and expectations for both students
Prepare permitted, age-appropriate access on both computers before class. Open the same Antigravity workspace layout and one working coding assistant. Keep the ready-to-play platform demo and the simple Mario recovery file available for Lesson 1. Use nicknames in examples.
AI and our building tools
Lesson 01 · 60 minutes
- Explain what generative AI and our building tools do.
- Create, open, and test a first Mario-style game.
Working file: my-mario/lesson-01/index.html
Teacher noteBriefly play the prepared platform demonstration, then show the simple first-version example. Today students create their own Mario-style game rather than a separate clicker. Explain that AI output is a draft. Keep the first goal to a character, ground, and basic movement. Use a teacher-approved local picture, or omit the photo sentence and ask for a fictional character. Let students send one short request, open the result, and ask for one small change after playing. If generation or setup takes too long, use starters/mario-first.html and make that change there. Both students finish by showing a playable saved file.
Watch forThe first prompt must describe every feature. Begin with a short idea, try the draft, and request one useful change.
A game starts with an idea
This game began with a picture and an idea. What would you change?
What would you change first?
Play a short section of the prepared platform demonstration. Invite one idea from each student. Use their answers to show that people choose the goal and judge the result. Keep this to three minutes.
What AI does
AI is software trained on examples to recognize patterns and perform tasks.
Speech → text
Your interests → suggestions
Try it together
- Describe
- Build
- Try
- Improve
Explain that AI covers many kinds of systems. Training uses examples to learn patterns. Avoid implying that AI has human feelings or perfect knowledge. Ask students for an example they have encountered.
Generative AI creates a draft
Generative AI can create text, images, audio, or code from instructions.
“Create a cartoon game character.”
Ask the prepared assistant for one original hero name. Connect the generated draft to the Mario-style game the students will create. Make clear that AI-generated output is a draft to evaluate.
A confident answer can be wrong
AI can misunderstand a request and write code with bugs.
Rule: press jump, then land on the ground.
Does your game follow the rule?
Ask students how they would check an assistant’s claim that movement and jumping work. Try those controls in the example. Explain that a draft can still contain bugs even when its description sounds confident.
Antigravity is our workspace
Antigravity is where we work with project files.
Find the code area and the assistant area.
Show the prepared workspace live. Point to the folder, a file, and the terminal without opening unrelated settings. This description follows the user’s classroom workflow, not a claim that Codex is a built-in Antigravity model. Source: https://antigravity.google/docs/overview?tab=ide
Codex and Claude Code
Codex is OpenAI’s coding assistant. Claude is Anthropic’s AI; Claude Code is its coding tool.
These screenshots show editor interfaces. Your teacher may launch the assistant from a terminal.
Teacher notePoint to the assistant conversation area in each genuine documentation screenshot. Show the actual launch method in your own Antigravity setup. Selecting a model and launching a coding tool are different actions. Sources: https://developers.openai.com/codex/ide and https://code.claude.com/docs/en/vs-code
The browser runs our web game
Describe a change. Let the assistant work on the files. Open the result and try it.
The browser is where we play.
Try it together
- Describe
- Build
- Try
- Improve
Switch between the project and browser so students see the relationship. Ask which screen they would use to play and which they would use to request a code change.
Other ways to use AI
| Browser or app chat | Ask questions, brainstorm, or request practice problems. |
| Voice conversation | Ask aloud or practice a conversation. |
| Image generation | Describe an original character or background. |
| AI inside an app | Get help with writing, pictures, or organizing information. |
| Other coding interfaces | Use a standalone app, another editor, a browser, or a terminal. |
Demonstrate one small non-coding use, such as asking for a game title. Ask students to name another task. These are examples of interaction types, not instructions to create accounts on several services.
This is one way to use AI
Antigravity with Codex or Claude Code is one possible setup.
You can use AI without Antigravity, and you can use AI for much more than coding.
Teacher noteSay the point explicitly. Tools can change while the habits of clear requests and testing remain useful.
A Super Mario–style game prompt
I want to create a game similar to Super Mario. Create a character using this picture: photo.jpeg.
Use the short request, close to the original classroom example. A prompt can be one or two natural sentences; students do not need a technical specification. Try the draft, then reveal one possible follow-up. Results vary, so keep the prepared game available. Use only an instructor-approved photo locally; the public deck includes only the cartoon artwork, not the original photo. The artwork was AI-created for this game.
Our first Mario version
Today: a character, ground, and jumping.
Build your Mario game. Play it, then ask for one small change.
The opening demonstration shows a possible future result. This simple version shows today’s goal. Students create and change their own Mario project. There is no clicker activity in this lesson.
A prediction before we build
Press right Release right Press jump
What should the character do?
Let both students answer before revealing. Ask what starting value their prediction assumes.
Your turn: the same Mario request
I want to create a game similar to Super Mario. Create a character using this picture: photo.jpeg.
Use the same short Mario request already shown. Students are building their own Mario project. Try the draft before adding one follow-up. Configure browser-only projects in the prepared workspace before class; students do not need to specify the technical stack in every prompt.
Create and improve your Mario game
- Send the short Mario prompt in the prepared project folder.
- Open the game and try left, right, and jump.
- Ask for one small change, such as a higher jump. Try it again and save your game.
Briefly play the prepared platform demonstration, then show the simple first-version example. Today students create their own Mario-style game rather than a separate clicker. Explain that AI output is a draft. Keep the first goal to a character, ground, and basic movement. Use a teacher-approved local picture, or omit the photo sentence and ask for a fictional character. Let students send one short request, open the result, and ask for one small change after playing. If generation or setup takes too long, use starters/mario-first.html and make that change there. Both students finish by showing a playable saved file.
RecoveryIf a student is blocked by tool setup or generation, use starters/mario-first.html and make one visible change. Both students should finish with a runnable file.
Four quick checks
- The game opens in the browser.
- The character moves left and right.
- The character jumps and lands on the ground.
- I can reopen the saved game and show my small change.
Run each check visibly. Today’s checks cover opening, movement, jumping, and saving. Keep coins, enemies, and additional levels for later.
What did each tool do?
Which tool helps change the game, and where do we play and test it?
Show your game and explain one request you made.
Expected explanationCodex or Claude Code helps change the files in our Antigravity workspace. The browser runs the game so we can try the result.
Teacher noteSave the file in my-mario/lesson-01/index.html. Ask each student to name one thing they want to change next time.