Build the game
Section 8: Project: the “Catch Robo” gameLesson 8.2 · ⏱ 10 min


🖥️ What happens on the stage?
Robo jumps every second. Every time you click him he makes a sound, says Nice! and your score goes up.
📌 Another example: Robo appears and disappears
Robo shows up for one second in a random place, then hides. Click him while he is showing to get a point.



✍️ Practise
Build the game and play it twice. How many points did you get in 30 seconds?
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
Add a time limit: a second script under the flag waits 3 seconds (try 30 in your game), then says “Time's up! ⏰” and stops everything.
👀 Show the solution🙈 Hide the solution



Medium
Make the game harder: every good click makes Robo 5 smaller.
👀 Show the solution🙈 Hide the solution



Hard
Show the score above Robo after each click, and at 3 points he says “I won! 🏆” and the game stops.
👀 Show the solution🙈 Hide the solution




