In deze les zitten 15 slides, met interactieve quizzen, tekstslides en 1 video.
Lesduur is: 50 min
Onderdelen in deze les
Let's Play Rock, Paper, Scissors with Microbit!
Slide 1 - Tekstslide
Deze slide heeft geen instructies
Learning Objective
You can write a program using the Microbit make code editor, create a game of Rock, Paper, Scissors, and download it to your Microbit to play with a partner.
Slide 2 - Tekstslide
Introduce the learning objective and ensure that the students understand what they will achieve by the end of the lesson.
Make Code Editor
Make Code Editor is a web-based code editor that allows you to create games and other programs for your Microbit.
Recall task - Can you remember how to code a dice? The program should display a random number from 1 - 6 on the Microbit when it is shaken. Make sure you start your program from scratch.
Slide 3 - Tekstslide
Explain what Make Code Editor is and how to access it.
How did you do?
Did you manage to code a functioning dice without support?
Did you use a variable in your program?
Slide 4 - Tekstslide
Explain how to create the game and what elements are necessary.
Slide 5 - Video
Deze slide heeft geen instructies
Logic Blocks (Selection)
We will use the "Logic Blocks" to create an "If Else Ststement" to allow our Rock Paper Scissors Game to function.
You can drop variables into your comparison block
Slide 6 - Tekstslide
Explain how to use the input buttons in the game.
Rock, Paper, Scissors
Rock, Paper, Scissors is a game where two players choose one of three options: rock, paper, or scissors. Rock beats scissors, paper beats rock, and scissors beat paper.
Slide 7 - Tekstslide
Explain the rules of the game and how it works.
Making the Rock, Paper, Scissors game
You will need the following blocks.
A shake "input" block
You will need a logic block with 3 choices (use the plus to add the extra section)
A math block to choose a random number from 1 - 3
A variable to store a number from 1 - 3
The set block to initialise the variable
2 comparison blocks where you compare the variable against the picture to display.
3 LED graphics of the rock, paper, scissors symbols
Slide 8 - Tekstslide
Explain how to use the display in the game.
Solution to the Rock, Paper, Scissors game
You will need the following blocks.
A shake "input" block
You will need a logic block with 3 choices (use the plus to add the extra section)
A math block to choose a random number from 1 - 3
A variable to store a number from 1 - 3
The set block to initialise the variable
2 comparison blocks where you compare the variable against the picture to display.
3 LED graphics of the rock, paper, scissors symbols
Slide 9 - Tekstslide
Explain how to use the display in the game.
What programming language was used to write the 'Rock, Paper, Scissors' game for the microbit?
A
MakeCode
B
Python
C
Java
D
C++
Slide 10 - Quizvraag
Deze slide heeft geen instructies
What input block does the 'Rock, Paper, Scissors' game on the microbit use?
A
Button
B
Shake
C
Light
D
Sound
Slide 11 - Quizvraag
Deze slide heeft geen instructies
What type of block is used to make comparisons in the 'Rock, Paper, Scissors' game for the microbit?
A
Logic
B
Variable
C
Math
D
Text
Slide 12 - Quizvraag
Deze slide heeft geen instructies
What type of block is used to store a value that can change in the 'Rock, Paper, Scissors' game for the microbit?
A
Variable
B
Text
C
Math
D
Logic
Slide 13 - Quizvraag
Deze slide heeft geen instructies
Write down 3 things you learned in this lesson.
Slide 14 - Open vraag
Have students enter three things they learned in this lesson. With this they can indicate their own learning efficiency of this lesson.
Write down 2 things you want to know more about.
Slide 15 - Open vraag
Here, students enter two things they would like to know more about. This not only increases involvement, but also gives them more ownership.