#MonthOfMaking Day5

#MonthOfMaking Day5


March 5, 2019

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!

Python Code

from microbit import *
import random
while True:
dice = random.randint(1,6)
if accelerometer. is_gesture('shake'):

EduBlocks Code

EduBlocks code

MakeCode Code



Final Words

Come back Tomorrow for another fun 5-minute micro:bit make

Loading cart ⌛️ ...