The idea and the design
Section 13: The final project: catch the appleLesson 13.1 · ⏱ 8 min
🎯 Project goal
A whole game: an apple falls, and a basket catches it with your finger or by tilting. Every apple is a point, you have 3 hearts, and every 3 apples the game gets faster. When the hearts run out the game is over, and the “Again” button starts it again.

- Three variables: score for the points, lives for the hearts, and speed for the apple's speed.
- Five events: the app opening, the timer, the finger dragging, touching, and the “Again” button.
📌 Another example: the game at a slower speed
The same design, and the apple falls 4 instead of 6: easier for little ones.



✍️ 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
Change the basket to 🪣 and the apple to 🍊.
👀 Show the solution🙈 Hide the solution

Result: the new design.
Medium
A green background for the canvas, and a white title colour.
👀 Show the solution🙈 Hide the solution

Result: a new look.
Hard
Add a “Pause” button that stops the falling (a variable: on/off).
👀 Show the solution🙈 Hide the solution



Result: the apple stopped.

