Small Game

This is a small game I made after getting to know the basics of a microbit.
Supplies


You will need a micro usb cable of any length, a microbit and a way to make and transfer the code.
For making and transfering the code i used a computer and the microbit website to write the code.
Downloads
Creating the Player

First u make the player. You can use any name for this sprite.
Making an Enemy

Now you can make the enemy, I wanted to let him appear at the right side and go to the right side.
I chose an interval of 200ms but you can change this to any value to change how fast u want the enemy sprite to move.
Make Your Player Move

You can very easily make the player move, I chose to make the sprite go up by one block if u press A and 1 block down if u press B.
Make Your Enemy Dangerous

Here I have written some code so that the player dies when the enemy touches him.
Download and Transfer



Now you insert the cable into your microbit and in your pc. You download the code you wrote and transfer the file to the microbit. As long as the microbit is powered you'll be able to play the game.
Enjoy Your Game
Now you're done and you can enjoy your game.