After downloading the program, shake a roll of micro:bit. There are 1-6 points randomly appearing on the dot matrix, which is exactly the same as playing the dice. You can call your buddy to play this game, see who points out relatively large
● Micro: bit Board X1
● Micro USB Cable X1
● AAA batteries X2
Then the micro:bit is connected to the computer through USB, and the computer will pop up a U disk and click the URL in the U disk to enter the programming interface.
3.Search for blocks
The code of the experiment: Lesson 7 Dice game.rar