Step 15: Game Over 1

Goal:


Once the timer goes to zero, we want the game to end, so we need to broadcast the game over message and delete all the apples.

Steps:

  1. From Events, place a broadcast block.
  2. Create a new message called “Game Over”.
  3. Set the broadcast block to “Game Over”.

Code: