KittyCode Programming Challenge

Make an Arcade Game With Your micro:bit

Program your micro:bit to become an arcade game and keep score. Try to press the "A" button when the dot is exactly in the middle of the screen.  

1 - Start a new project in MakeCode

Go to "" to start a new project by clicking the new project icon above. Click the purple plus box labeled "New Project" to begin.

2- Create a Sprite

A sprite is the object that you will program to move. Program the sprite to appear in the middle of the micro:bit screen. You will need to use the X-Y axis to place your sprite. Try these blocks:

Screen Shot 2019-08-01 at 3.00.47 PM.png
Screen Shot 2019-06-25 at 2.29.31 PM.png
Screen Shot 2019-08-01 at 2.56.00 PM.png
Need Help_ Heres a Tip.png
Screen Shot 2019-08-01 at 3.10.43 PM.png

3- Move Your Sprite

Program your sprite to move across its X-axis. You will need a block to make sure it bounces back after it hits the edge and another to control its speed (the faster your sprite moves, the harder the game will be). Try these blocks:

Screen Shot 2019-08-01 at 3.39.07 PM.png
Screen Shot 2019-08-01 at 3.39.21 PM.png
Need Help_ Heres a Tip.png

4- Make it a Game!

Program your micro:bit to keep score when you press the "A" button as soon as the dot is in the middle. If the dot is in another position, it's game over. Try these blocks:

If Else.png
Screen Shot 2019-08-05 at 11.21.25
Screen Shot 2019-08-05 at 11.21.50
Screen Shot 2019-08-05 at 11.21.13
Need Help_ Heres a Tip.png

Hooray! You did it!

Play your game with your micro:bit and press the "A" and "B" buttons together to restart!

If you need help, click me to see the finished product!