Conditionals updates (#474)

* Replaced images.

Deleted old images.

* Corrected filenames

* Corrected filename.

* Fixed traffic light filename.

* Added battle pieces image.

* Added paragraph break

* Made sub-heading

* Lower-case the image names.
This commit is contained in:
dkiang
2017-08-01 05:47:43 -07:00
committed by Peli de Halleux
parent 1d4276c1b9
commit 531c77d9de
13 changed files with 15 additions and 4 deletions

View File

@ -6,6 +6,7 @@ Everyone will create the same program, the classic rock paper scissor game.
![Rock, paper, scissors](/static/courses/csintro/conditionals/rock-paper-scissors.png)
## Introduce activity
* Have students recall the classic rock paper scissors game.
* What are the rules of the game? What are the conditionals?
>Example: If Player A gets rock, and Player B gets scissors, Then Player A wins.
@ -18,11 +19,13 @@ Else display scissors icon.
* Point out that because there are only three possibilities, we dont need to do a separate check to see if random number = 2. So we just use an else.
## micro:bit
* Working from the specifications, have students work in pairs to try to code a Rock Paper Scissors game on their own.
* If students get stuck, there is a tutorial at [rock, paper, scissors](/projects/rock-paper-scissors) (steps 1 through 4), that leads students step-by-step through the process of coding a working rock paper scissor game for their micro:bit.
* Let them play the game against their program.
## Ideas for Mods
* Add a way to keep score: Steps 5 through 7 in the tutorial
* Mod the game to use different images or to add more options like Rock Paper Scissors Lizard Spock, Step 8 in the tutorial