Safe Cracker

Original number game –
Improved game –
One of the first games I created with the micro:bit was a number guessing game. I wanted to use the built-in compass so that pupils didn’t need to purchase or utilise any additional equipment other than what would be given to them.

Game idea

Randomly generate a number using button A. Guess the number by pointing in a direction and pressing button B. The number will be between 0 and 359.

I originally started using the block editor to make the game but I wanted to see the code. I realise that my pupils will not all want to see the code…they may be scared of the code. Continue reading Safe Cracker