Micro:Bit Code Sample

The Micro:bit website is an awesome place to start learning to code. You can create your own programs such as a digital compass through to mini-games. I’ve included an example here. It’s very simple and the Micro:bit has a lot more capabilities that can be used (compass, radio, bluetooth, accelerometer etc.)

See if you can figure out, from the code blocks below, how to play the game. You can always edit the code to improve the game or, even better, create your own game.

The Game

Leave a Reply