BOMB, BUILDING AND GUN HARDIK

by hardik05 in Living > Toys & Games

40 Views, 1 Favorites, 0 Comments

BOMB, BUILDING AND GUN HARDIK

IMG_20191208_104254.jpg
IMG_20191208_104258.jpg
IMG_20191208_104300.jpg

Hi, My name is Hardik today I will teach you how to make a different type of rock, paper, scissors.

Bomb beats building

Gun beats bomb

Building beats gun

This how each of these objects will look with your hands

The first image is "building"

The second image is "gun"

The third image is " bomb "

Supplies

You will need :- Microbit, USB-Cable, Double AA battery box with two battery inside, Computer, Internet, AUX connector and earbuds.

Go to the Website

Screenshot 2019-12-05 at 8.36.12 AM.png

First, You open google. Then type MAKECODE.ORG.

Start Up

Screenshot 2019-12-05 at 1.47.09 PM.png
Screenshot 2019-12-05 at 9.01.11 AM.png

When you open the website this page will show up, then you choose the option that says "Micro: piece", then you click on it then the start page will pop up.

Step 1

Screenshot 2019-12-05 at 14.52.26.png

Then you choose the option called "One Shake"

Step 2

Capture.PNG

Then you choose the option "variable" after then you click on "make a variable".

Step 3

Capture.PNG

Then you make a variable called Bomb, building, and gun

Step 4

Capture.PNG

then you put those variables in each one of the options called "set to" each diffteantly threes times.

Step 5

Screenshot 2019-12-06 at 12.59.39.png
Screenshot 2019-12-06 at 13.10.25.png

After you have done that you go on "Math" and choose an option called "pick a random" and put numbers 1 and 3 in the two spots in all there blocks of "Pick random".

Step 6

Capture.PNG
Capture.PNG
Capture.PNG

After you have done that it would look like this. Then you choose the option called " If true then, else ". after you have done that you click on the little plus sign three times.

Step 7

Capture.PNG
Capture.PNG

Then put this block threes times in the block called "if true then". then you number 1,2 and 3 in blocks 1 in block 2 in second and 3 in the third block and you put variable called " gun " in the first block " bomb " in the second and " building " in the third one.

Step 8

Capture.PNG
Capture.PNG

after you have done that then go to "basic" than you click on "show LEDs" you put it three times in the blocks called "if true then".

Step 9

Capture.PNG

Then for each "show led" block make a gun, a bomb, And a building as shown in the picture.

Step 10

Capture.PNG
Capture.PNG

After you have done that you go to the option called " Advance " and go to the option called " control " and choose the first block called " run in background ".

Step 11 Last Step!!!

Capture.PNG

So you do the option called " Music " then you choose the fourth block called " Start melody .... repeating......"

and put run forever in the background and you can any song you want in there in prefer "entertainment".