Menu
Our phone line is now working
Home Page

Week 3 - Coin Flipper, Dice & Fortune Teller

Coin Flipper, Dice & Fortune Teller

 

We used tutorials to program a micro:bit to simulate a coin toss.  When button 'A' is pressed, it will choose to display 'heads' or 'tails'.

Coin Flipper

Still image for this video
Continuing to use the 'random' feature, we turned our micro:bits into dice!  When the micro:bit is shaken, it will select a random number from 1 to 6.

Micro:bit Dice

Still image for this video
Finally, we programmed our micro:bit to be a 'Fortune Teller'.  When we asked it a question, we would press button 'A' and it would respond with one of three answers: Yes, No or Maybe.

Fortune Teller

Still image for this video
Top