Build a Shooting Game Using micro:bit

Build a Shooting Game Using micro:bit

Hello makers, how good are you at aiming and shooting? 
Want to test your skills and challenge your friends? In today's project, will be making an easy and fun shooting game using micro:bit. Let's get started.

 

Video Tutorial

 

Components Required

 

Code

Connect your micro:bit to your computer and open MakeCode editor to start programming.

  • Follow the code block in the picture above

You can also view and edit the code by clicking here!

 

Build the game

  1. To build the game, you will need cardboard, metal wire, aluminum foil, and a hot glue gun


     
  2. Glue the base 


     
  3. Cover the target, and the blocker with aluminum foil


     
  4. Attach the blocker


     
  5. Hang the target using metal wire


     
  6. Bring the micro:bit and attach pin 0 to the target, and GND pin to the target blocker


     

Project Complete

Use a rubber band and a small piece of cardboard to hit the target. Try to score as many as you can. To make the game more challenging, try to shoot from a far distance.