This resource was used for Year 7 Computing following a unit involving learning about variables, selection, iteration and random number generation using the Microbit. They loved playing the game, especially as they helped to create it!
The idea is to have them use the Microbit as part of the board game. They will program in a dice function for shaking the Microbit, and other features for when they press Button A or B. The game works similarly to Snakes and Ladders. Button A moves the player either forwards or backwards, 6, 4, or 2 spaces (picked randomly by the program), and Button B moves the player up or down by flashing up to 3 up or down arrows (again randomly).
Instructions were given via a worksheet, where the first page (two of the tasks) were given in the first lesson and the final one was given at the start of the second. When they had finished their program they could then download it to the Microbit and play their game. My students ended up with between 10-25 minutes playing time depending on how quickly they programmed their game. They can provide their own playing pieces from pencil cases etc. and the board is provided (A4 printout is fine).
TES wouldn't let me upload the code but the screenshots are in the powerpoint slides so can be made up quickly.