📖 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.