Rock, Paper, Scissors
LI: To learn how to code the Micro-bit to play rock paper scissors and understand how the flowchart matches the code
1.When I shake the micro bit it will choose a random number between 1 and 3
2. I have to make a variable called hand and set this to random number
3.If the number is 1 - the Micro-bit will show the symbol for Rock
4.If the number is 2 - the Micro-bit will show the symbol for Paper
5.If the number is 3 - the Micro-bit will show the symbol for Scissors
Comments
Post a Comment