March is all about MAKING!!
I have decided to take on the challenge of making a 5-minute micro:bit make every day throughout March.
Day05 – Simple Dice
Today I have decided to make a Dice.
This is a great little project if you want to play a board game, but the dice seems to have been misplaced. Let’s get coding!
from microbit import * import random while True: dice = random.randint(1,6) if accelerometer. is_gesture('shake'): display.show(dice)
Come back Tomorrow for another fun 5-minute micro:bit make