In this introduction to programming using Kitronik and the BBC micro:bit, students will create a “Magic 8-Ball” game. The game works by generating a random predictions when the micro:bit is shaken or a button is pressed e.g. “Yes”, “Most likely” and “Outlook not so good”.

 

The Magic 8 Ball is made up of 20 responses – 10 positive, 5 negative and 5 neutral.