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

🚀 Level up with if

📖 Read the Catch the Stars tutorial

🤖

Great games get harder as you play. Use an if inside onCatch to speed the game up. Remember: score % 5 === 0 is true when the score is a multiple of 5.

🎯 Every time the score reaches a multiple of 5, make speed go up by 1, but never above 5.

🧺 Your game

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

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