This is the classic ‘green light, red light’ game where players to try to reach the leader without being caught moving while the ‘light is red’. This is a game played with multiple micro:bit. The leader presses on the logo to enter leader mode, and press button A or B to switch between green and red mode. The current game mode is transmitted via radio so that every player micro:bit knows when it has to start checking for movement.
page 1
This is the green light player mode page.
- Put game in leader mode (page 2) when pressing the logo.
- Put game in ‘red light’ mode (page 3) when received radio value
2
- when the page starts, play sound and show running person animation
page 2
This is the leader mode page.
page 3
This is the player red light page. The player looses if moving in this phase.
- when shake is detected, show game over animation and play unhappy sound
- go back to
green light
mode, when radio value 1 is received