For this challenge you need to code your micro:bit so that when you shake the micro:bit a picture appears randomly.
There should be three possible pictures:
- A picture of a rock,
- A picture of a pair of scissors,
- A picture of a paper sheet.
Download your code to your micro:bit and play the game with your friends, using one micro:bit per player.
Use will need to use the BBC micro:bit website to code this game.
Reuse and adapt your code to transform your BBC micro:bit into a dice. Your code will need to generate a random number (between 1 and 6) and based on the value of this number display (using the LEDs) the corresponding face of the dice: