Skip to content
ExploreMapGamesStoriesComicsVideosStudioPrintablesCode LabJourneys
By age ▾
  • 🧸 Tiny Explorers2–5
  • 🦉 Curious Learners6–8
  • 🔭 Young Investigators9–12
  • 🚀 Trailblazers13–17
👤Parent sign in
Kids Amazing World

A creative learning playground. No ads, no tracking, no chat. Every item is reviewed before it appears.

Explore

  • Explore
  • Learning journeys
  • Surprise me
  • Parent planner

For grown-ups

  • Child safety
  • Privacy
  • Terms (draft)
  • Free & Premium
  • Parent sign in

About this content

Some items in this build are placeholders written for development. Third-party resources are only listed with permission, a license, or an official embed.

← Make a Game

❤️ Lives and danger

📖 Read the Catch the Stars tutorial

🤖

Games get exciting when you can lose! The variable lives counts how many mistakes you're allowed. When it hits 0, it's game over. The function onMiss runs when a star hits the floor.

🎯 Start with 5 lives, and make every miss cost exactly 1 life.

🧺 Your game

Press Play to try your game. Change the code, then press Play again to see the difference.

Lesson 3 of 11 · Lesson map · Your code runs safely inside this page and is never sent anywhere.