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

💯 Score more points

📖 Read the Catch the Stars tutorial

🤖

The function onCatch runs every time you catch a star. Inside it, score = score + 1 means “add 1 to the score”. You can change what happens when you catch!

🎯 Make every star you catch worth 3 points.

🧺 Your game

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

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