Train an AI classifier, then plug it into a Scratch game that reacts to what the AI sees
⏱ About 2 hours
Two tools, one mission: machinelearningforkids.co.uk (built by a teacher specifically for kids 8–13) to train the AI, then Scratch to build the game around it. Both free. Both safe.
Your kid is about to do two real jobs in one afternoon. Train an AI model. Build a game around it. Both are things that exist as real roles in the world. Sit with them for the sign-ins and let them drive.
10 minutes
Go to machinelearningforkids.co.uk. With your parent, pick the “For teachers and parents” setup path if you need an account, or use the try-it-now sandbox mode without an account. Either works.
10 minutes
Keep the choice very specific. Three patterns that work well for a first game:
Pick one. Write down your categories.
25 minutes
In ML4Kids, create a new project with your categories. Feed each enough examples:
Click Train new machine learning model. Wait for training to finish. Test with examples the AI hasn’t seen. If confidence is low, feed more examples and retrain.
45 minutes
Click through to Scratch from inside ML4Kids (important — if you go to scratch.mit.edu separately, your trained model won’t be available). Your model appears as a new block in the Scratch block palette.
Build a simple game using the AI. Examples matching Step 2 choices:
You’re the designer. The trained AI is one block. The game is what YOU build around it.
10 minutes
Click Save in Scratch. Scratch gives you a shareable link. Send it to a parent, sibling, or friend. Watch them play. Notice what confuses them. Notice what makes them laugh.
“This mission is the one that will make you feel what it’s like to combine AI with a tool you already know. You teach an AI one specific thing, then you make a game use that AI as part of its logic. That combination is how real systems get built.”
“Simple games that work are the whole point of this mission. Save the fancy features for a second version. Shipping a working version always beats never finishing a complicated one.”
“My AI keeps getting the wrong answer.”
Training data is almost always the reason. Go back to Step 3 and add more examples. Variety matters more than quantity. Different lighting, angles, backgrounds.
“The Scratch block for my AI isn’t showing up.”
Make sure you clicked “Make” in ML4Kids to generate the Scratch blocks, AND make sure you opened Scratch from inside ML4Kids — not scratch.mit.edu directly.
“My game is too simple.”
Fine for a first pass. Simple games that work are the whole point. Save fancy features for a second version.