Introduction: Rock Paper Scissors(different Ver.)
Rock Paper Scissors(different ver.)
rock paper scissors is fun to play with another player rather than playing it yourself, you have to shake the micro bit and it will show the rock, paper, and scissor (but instead of rock, hand, and paper its a shield a gun and a sword instead it's like pokemon sword and shield but with a gun)
if you want to make the game or make the game you must have this code: https://makecode.microbit.org/#editor
Step 1: Step 1: Adding Set Hand
Step 1: The first thing you need to do is to add an ''input'' and press it and tap ''on shake'' after that, you must go to variables and press ''make variable'' and it will pop up a square box and says ''New variable name:'' and type shield(that will be your paper) after that press ''math'' and add ''pick random'' after that add it besides the ''set hand to'' and add ''pick random'' inside the pick random it has number it says "0 to 0'' so for the first one pick one and three for the second one.
and there you go!
Step 2: Step 2: Adding the Paper(shield)
step 2: the first thing you need to do is to press ''logic'' after pressing logic it will show conditionals after that press ''if true then..'' and put it under ''on shake'' after that go to logic again and down and you will see ''comparison'' and press the first one with the ''='' sign after that put it in ''if true then..'' and the number should be one after that go to ''basic'' and press ''show leds'' and put it under logic and then you can make your shield (the shield will be your hand) after that shake your microbic and there u have your shield!
Step 3: Step 3: Adding Scissors(gun)
Step 3: Now we are gonna add the scissors(gun) now, the first thing that you need to do is too press the plus button from the logic but this time add ''else if'' after that add hand (you can find hand in variable). But this time add number 2 instead of one and after that go to basic again and repeat. This time add a scissors(gun) and there you have a scissor!
Step 4: Step 4: Adding Rock(sword)
Step 4: This step is just the same as step 3 you just have too press the plus sign from the ''logic'' again and after that add the ''basic'' and put it under the ''Scissor(gun)'' and now you just have to make a rock(sword) and after that shake the microbic and now you will see all the rock, paper,and scissors and there you go!
i hope this was helpful thank you!