๐ ๏ธ Project: tap fast
Section 5: TimeLesson 5.2 ยท โฑ 12 min
๐ฏ Project goal
You have 10 seconds: tap the button as fast as you can. When the time is up your score appears.



- The condition time > 0 in the button stops taps after the time is up.
- When the time becomes 0 the message โYour score: 15โ appears and a note plays.
- Make the time 5 seconds.
- Change the button's colour to grey when the time is up.
๐ Another example: tap in 5 seconds
The same game with five seconds, and taps after the time is up don't count.



โ๏ธ 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
Only three seconds.
๐ Show the solution๐ Hide the solution



Result: the time was up after 3 seconds.
Medium
A message at the end with the number of taps (toast).
๐ Show the solution๐ Hide the solution



Result: You tapped 6 times.
Hard
An โAgainโ button that resets the time and the points.
๐ Show the solution๐ Hide the solution



Result: back to 3 and 0.

