BOMB, BUILDING AND GUN HARDIK
by hardik05 in Living > Toys & Games
40 Views, 1 Favorites, 0 Comments
BOMB, BUILDING AND GUN HARDIK
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
First, You open google. Then type MAKECODE.ORG.
Start Up
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
Then you choose the option called "One Shake"
Step 2
Then you choose the option "variable" after then you click on "make a variable".
Step 3
Then you make a variable called Bomb, building, and gun
Step 4
then you put those variables in each one of the options called "set to" each diffteantly threes times.
Step 5
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
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
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
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
Then for each "show led" block make a gun, a bomb, And a building as shown in the picture.
Step 10
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!!!
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".