5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



Micro:bit Robot Control Handle Game Joystick Tutorial 1.2 Aircraft war

Posted by Fiona Su on

Micro:bit Robot Control Handle Game Joystick Tutorial 1.2 Aircraft war

2.Aircraft war.rar

After the program is downloaded, we need to turn the power switch to ON, as shown below.

image.png 

We need to press the B1 button to start game. The pattern shown below will be displayed on the LED dot matrix.

image.pngimage.png 

Then, we need to move the red dot by the rocker moving left and right to change the position of the red dot (bullet) below. Press the B3 launch bullet to hit the random red dot (plane) above.

After a certain time, the game is over. LED dot matrix will scroll to display the string "GAME OVER" and display "SCORE".

Next, the score will be displayed on the LED dot matrix.

If you need to play again, you need to press the reset button. 

If you want to modify game time, you need to modify this value in the program. As shown below.

image.png 

B1 is the start button

B3 is the launch bullet button

Reset button is the restart button

image.png 

image.png 

Tutorial

Micro:bit Robot Control Handle Game Joystick Tutorial

  • Last Tutorial>> 
  • Next Tutorial>>

Buy Yahboom Micro:bit Robot Control Handle Game Joystick

0 comments

Leave a comment

Please note, comments must be approved before they are published