A Micro:bit Game: Competitive Math Training Through Micro:bit Icons
Developed by: Philip Ching Cua (MLC Ventures Singapore)
In Collaboration with: Marcus Loo Cua (Angsana Primary School, SIngapore)
A Micro:bit-based game to help teachers train their students in math. The training is done through a fun & competitive manner by letting the kids count LEDs of icons.
Game is composed of 1 Master (Teacher) & multiple Client Micro:bits (Students).
Master sends out a string of LED icons (3 randomised icons) to all Clients and waits for their answers. Clients are supposed to count the number of LED lights forming each icon and add up the total of the three then key in their answers. First Client to answer correctly, wins. First Client to get 5 wins will get a “W” icon on his device. All Clients’ winning tally will be reset once one Client hits the 5 wins so a fresh round of tallying will begin anew.
Master & Client Micro:bit Hardware Set Up
The hardware assembly of the Master & the Clients Micro:bits are similar. Only the type of software copied into the Micro:bit will differentiate a Master Micro:bit from a Client Micro:bit. (For the Master version, please visit: https://www.hackster.io/philip-cua/competitive-math-training-thru-microbit-icons-masterversion-4a5a06)
First, assemble the MI:Power Board kit into the BBC Micro:bit motherboard. After which, assemble the MI:pro Protector Case into the Micro:bit with the attached powerboard.
Copy the Master Hex program file into one of the assembled Micro:bit as the Master. And copy the Client Hex program into the rest of the assembled Micro:bits to act as Client Micro:bits.
Alternatively, you may also assemble Micro:bit sets using the motherboard and the regular triple AAA battery case should you not be able to procure the Kitronik case and powerboard.
ButtonA will generate a string of 3 icons composed of LEDs and send the icons out to the Clients. The icons will be displayed on Master’s screen as well as on Clients’ devices. The Clients are supposed to count the number of LEDs forming each icon, add them up and key in the total to send to the Master for checking.
Pressing ButtonB on Master will display the correct answer.
Pressing ButtonA will recall back the string of 3 icons.
Master waits for Clients to send in their answers. The first correct answer received will be the winner. A tick mark will be displayed once a correct answer is received. A message will be sent to the winner Client Micro:bit and his device will display the tick mark also. For first Client to get 5 wins, he will get an additional “W” icon on his device. All Clients’ winning tally will be reset once one Client achieves 5 wins, so a fresh round of tallying begins anew.
ButtonA+B on Master will reset the game but not the winning tally.
After reset, pressing ButtonA will send out a new set of 3 icons.
To accommodate two different levels of students, upon Shake, the game Level will change, either from L0 to L1 (more difficult) or from L1 to L0 (less difficult).
All 3 icons will be displayed on Client devices when the Master sends out the string of icons.
Each Client player counts the number of LEDs forming each of the icon and keys in the total LEDs of the 3 icons using ButtonA & ButtonB.
ButtonA displays a single digit representing the first digit of the answer.
ButtonB displays a single digit also, representing the second digit of the answer. Answers will always be limited to 2 digits only.
The single digit starts at 0.... pressing the button again will increase it by 1 until it reaches 9 then it goes back to 0 again.
Once the answer has been set through ButtonA & ButtonB, pressing ButtonA+B will send the answer to the Master.
If the answer is correct & the Client is the first to answer correctly, a message will be received from the Master indicating Client is the winner. A tick mark will be displayed on Client device. First Client to achieve 5 wins will receive an additional “W” icon on his device. All Clients’ winning tally will be reset to zero once one player achieves 5 wins.
Wrong answers will not get any response from the Master Micro:bit.
To recall back the 3 icons, upon Shake, they will be re-displayed on Client screen.