This is a multiplayer game for the BBC micro:bit where you have to avoid the falling rocks. The player who avoids the rocks for the longest wins - simple eh!
When the game starts, you will see the spinning clock finger on the display. When this stops you are off and running, and the rocks will start dropping from the top of the screen. You are the pixel in the middle of the bottom row. You have to avoid the falling rocks by using the 2 microbit buttons. Button A (on left) moves you to the left and button B (on right) moves you to the right. (Well it would not make sense if it was the other way round.) If a rock hits you, it is game over. The game them restarts - what fun! Oh yes, the rocks fall faster and faster!
- Check everyone has Mind the Rocks on their microbit.
- Get everyone to reset their microbits using the reset button (which is the button on the opposite side to the LEDs).
- When you see the spinning clock finger, press and hold the button A (on left). When it sees others doing the same with their microbits, it lights a LED for each player who joins. Wait till your microbit displays the correct number of players.
- When all have joined let go of button A. It will tell you which player number you are, and then it will start the game :-)
- When a rock hits you you will see the skull image, and your microbit will wait till all players have finished.
- The microbit will display the number of the player who won. Here's hoping that is you!
- It automatically restarts the game so that you can all have more fun!
I attended an Oxford Codebar (their twitter) session on Python programming for microbits where I was demoing the A Shaky Start Talk Timer. There, one of the cool Python Mentors was coding up a block drop type game for the microbit. If that was you I would love to credit you here. This got me thinking that I could write a multi-player version so here it is :-)
You are very welcome to use this to help make coding fun - in fact that is the whole point. If you have an idea for an improvement, just add an issue describing your suggestion :-)
This is written in MicroPython.
Here is how to compile and copy a MicroPython script (in this case mindtherocksformicrobit.py) or hex file (grab from the latest release) file to your microbit :-)
I coded up the very first version of the game whilst on holiday in the Northumberland National Park. When looking up from the screen I could see the wonderful hills of the upper Coquetdale valley.