TS7-Pro 7-inch Touch Screen
Calculate the score!
To make the game more interesting! Add a scoring mechanism. When you click the green flag, the score will be reset
to zero. When a “hit” event occurs, the score will increase by 1.
Note: This does not involve the calculation of sprites and backdrops. We tend to put such codes in backdrops.
Countdown!
Add a time mechanism. When the green flag is clicked, the timer is set to 30s, and then decreases by 1 every second
until the event is reset to zero to end the game.
But if you hear the “Hit” broadcast, let the timer increase by one to increase the game time.
5.7. Scratch Projects 171