Try it and make it better
Section 13: The final project: catch the appleLesson 13.3 · ⏱ 15 min



🖥️ What happens on the stage?
We played in the lab: we caught the apples, and “New level! 🚀” appeared after 3 apples, then we let the apples fall until “Game over!” appeared, then we tapped “Again”.
- Add a 💣 bomb that falls too: if the basket touches it you lose a heart.
- Keep the best score in a variable and show it.
- Change the screen colour at every new level.
- Open your game on your phone, and play it by tilting (lesson 12-1).
💡 Tip
Build one step, then run it and make sure it works, then add the next.
📌 Another example: levels
Every 3 apples: the apple is faster, and a “New level” message.



✍️ Practise
Make the example yourself: put the parts in “🎨 Design”, then the blocks, and tap ▶ Run.
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
An “Again” button that resets the points and the hearts.
👀 Show the solution🙈 Hide the solution



Result: everything went back to the start.
Medium
A golden apple 🌟 is worth 5 points (a second apple).
👀 Show the solution🙈 Hide the solution



Result: two apples fall, and the golden one is worth 5.
Hard
The phone vibrates when you lose a heart.
👀 Show the solution🙈 Hide the solution



Result: it vibrates with every apple that falls.

