1 00:00:05,030 --> 00:00:12,350 This lesson is called conditionals with cards. Every day you make decisions based on what 2 00:00:12,350 --> 00:00:19,430 you see and hear. I want to walk to the park but first I have to decide if I should 3 00:00:19,430 --> 00:00:24,550 bring an umbrella or not. So I look out the window. If it's cloudy, I'm going to take 4 00:00:24,550 --> 00:00:30,320 my umbrella. Else, I'll take some sunglasses. I think I'd better take the umbrella. What 5 00:00:30,320 --> 00:00:36,980 I see and hear determines what I take to the park. Conditionals are used in games too. 6 00:00:36,980 --> 00:00:40,989 Today we're going to practice using conditionals with a card game. In this game, the card that 7 00:00:40,989 --> 00:00:50,429 I draw determines what my friends are going to do. If I draw a seven, everyone claps. 8 00:00:50,429 --> 00:01:03,280 Else, everyone says "awww." Let's try it! I bet you can make up games 9 00:01:03,280 --> 00:01:08,530 that are even more fun with conditionals. Give it a try! Conditionals are what make 10 00:01:08,530 --> 00:01:14,790 computers seem smart. A computer program that includes conditionals can react to the user 11 00:01:14,790 --> 00:01:20,180 and change its course of action. Think about your favorite video game. Do you earn more 12 00:01:20,180 --> 00:01:26,119 points for some actions than you do for others? This occurs because the computer is using 13 00:01:26,119 --> 00:01:34,070 conditionals. It's the way a computer makes a decision. How about, if you hit the target, 14 00:01:34,070 --> 00:01:40,109 you earn ten points. Else, you lose three. When you know how conditionals work, you can 15 00:01:40,109 --> 00:01:41,579 create all kinds of exciting games.