Conditionals - unplugged activity
-
0:06 - 0:13This activity is called coding with cards
and it's great for any age. Like you learned -
0:13 - 0:19with the if statements in earlier lessons,
during Blockly, if statements have a piece -
0:19 - 0:24about them you have to evaluate to find out
if it's true or false. That's the conditional -
0:24 - 0:30and it can be used in lots of different ways.
We take advantage of that by creating programs -
0:30 - 0:37on paper that you run using a random draw
of playing cards. You might have an if statement -
0:37 - 0:45that says something like if the card you draw
is greater than 8, you get a point. Otherwise, -
0:45 - 0:57your opponent gets a point. You can make it
as simple or as complicated as you feel comfortable.
Code.org edited English subtitles for Conditionals - unplugged activity |