In this challenge we will use the BBC micro:bit to control a RGB LED to create a gradient light effect where the LED will fade from red to purple, to blue, to purple and back to red. To do so…
In this challenge we will create a game for the BBC micro:bit. Imagine you have been asked to bring a cupcake to Her Majesty the Queen Elizabeth II. You have picked the best cupcake from the kitchen and placed it…
For this challenge we are creating a game of Tetris to play on the BBC micro:bit. The game will be based on the following four shapes: The game will use the following inputs: Button A: Move current brick to the…
For this challenge you need to code your micro:bit so that when you shake the micro:bit a picture appears randomly. There should be three possible pictures: A picture of a rock, A picture of a pair of scissors, A picture…
For this challenge you will design and write a program to play against the BBC micro:bit. The micro:bit will display a random number between 0 and 100. It will then ask the end-user whether they believe the next number will…
In this challenge we will write a Python program to randomly shoot an arrow on a target. We will then use Pythagoras’ Theorem to calculate the distance between the arrow impact and the centre of the target. This distance will…
In this challenge we will code our BBC micro:bit to create a “rolling dice” animation. Our code will generate random numbers between 1 and 6 to create the animation and will include 8 frames. The last frame will be the…
In this challenge we will use the compass sensor from the BBC micro:bit to create a digital compass. Based on the compass heading (retrieved ftom the sensor), the micro:bit will display one of the four cardinal points: N for North…
For this project we are going to code our micro:bit to act as a magic 8 ball: The user will think of a question such as: Will it be snowing tomorrow? Will I be a rock star one day? Will…
Your challenge consists of programming your BBC micro:bit to use it as a ticketing system. Ticketing systems are used in a shop to control the order of the queue of customers: The queue should start at the value 0, and…