Code These AI Games
Design. Code. Interact. Kids can follow along to code and play 10 entertaining games, using AI models that have been pre-trained to recognize and track human eyes, mouths, fingers, and more. Run these games right in your browser with nothing to install. Camera required.
What Kids Will Learn
Learn to code, one block at a time! Tynker makes coding as simple as drag-and-drop. The game projects contained in this book are a great way for kids to learn to program something that's fun to play when they're done, and get introduced to artificial intelligence in the process.
Kids learn about variables, control structures, functions, game mechanics, and more as they build their own interactive games. Intuitive AI libraries allow their games to be controlled with the camera: tilt your head to balance a ball, poke virtual characters with your fingers, and even train a model to recognize thumbs up and thumbs down gestures!
This book contains something for everyone: 6 projects using Tynker Blocks, designed for the young beginner, and 4 projects using JavaScript and p5.js, designed for the older beginner or more advanced student.
What's Inside?
- Design, code, and play 10 games
- Easy step-by-step instructions
- Game assets included
Project Collection
These hands-on programming challenges teach and reinforce coding skills as kids make AI-powered games. Easy-to-apply libraries introduce kids to artificial intelligence concepts while taking their games to the next level with enhanced webcam interactivity!
OMG!
Use face tracking to code a funny, bug-eyed face filter.
Tickle Monster
Track your finger positions to poke this giggly monster!
Sock Puppet
Wreak havoc with a sock puppet monster that follows your hand.
Balancing Act
Keep the ball aloft! Track your head position and angle in this physics game.
Snow Angel
Use the pen and your body motions to draw a snow angel on screen.
Weather Control
Command a weather simulator by tracking your hand positions.
Red Light, Green Light
Train your own AI to recognize "stop" and "go" gestures.
Finger Puppets
Program little creatures that follow your fingers.
Mr. Potato
Make an object that mimics your facial movements.
Fruit Fighter
Recreate an arcade classic. Slash fruits with your finger!