Micro:bit – binary game


I really like Micro:bits and this is a great game to practice binary numbers up to 31.  I found this code that chooses a random number between 1 and 31, when the Micro:bit is shaken, then displays the integer as a binary number through the Micro:bit’s LEDs. The student then works out the number and checks the answer by pressing button A, which causes the number to scroll across the Micro:bit. Shake to repeat. Code is here: https://makecode.microbit.org/v0/23114-79460-40594-70464

+ There are no comments

Add yours

This site uses Akismet to reduce spam. Learn how your comment data is processed.