YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Conditionals - unplugged activity

Download the lesson plan at http://learn.code.org

Get Embed Code
6 Languages

Showing Revision 1 created 01/05/2016 by Code.org.

  1. This activity is called coding with cards
    and it's great for any age. Like you learned
  2. with the if statements in earlier lessons,
    during Blockly, if statements have a piece
  3. about them you have to evaluate to find out
    if it's true or false. That's the conditional
  4. and it can be used in lots of different ways.
    We take advantage of that by creating programs
  5. on paper that you run using a random draw
    of playing cards. You might have an if statement
  6. that says something like if the card you draw
    is greater than 8, you get a point. Otherwise,
  7. your opponent gets a point. You can make it
    as simple or as complicated as you feel comfortable.