Micro Bit is a device that allows you to make games, animation, and motion sensors. To make your micro bit work you have to code it. the code is block code like scratch. The Micro Bit has 2 buttons a and b. You code the Micro Bit to make the buttons do things.
flashing heart was the first project I did. In this project, we had to make a heart on the screen flash. This is what my code looks like.
We had to look at the tutorials on Micro Bit to learn how to code.
love meter and scanner
When I did the love meter project I thought that I could add some more to the code, but I didn’t know what to add.
Then I did the scanner project and I thought I could combine the 2 projects to make a scanner that scans for love. This is what the code looked like.
Now that I had learned how to code it was time I made my own project!
I wanted to make a game kind of like dodge ball. 2 balls get thrown at you and you have to dodge them. each time they are thrown they speed up. If you get hit you lose and if you doge them you get point. It was a little hard because I was so used to how you make sprites on scratch. I worked out to make a sprite you have to use variables to make sprites. I already knew how to make life and movement from the tutorials so I continued working. Here is what the code looks like.
Collect is one of the games I have made. in this game, you have to collect falling balls to get coins and you have a 1-minute timer. it was hard because it is the opposite of my other game.