WEBVTT 00:00:02.260 --> 00:00:09.260 So what grade are you in? Second. Tenth grade. First grade. I was in 8th grade when I learned 00:00:10.099 --> 00:00:16.720 to program. I got my first computer when I was in 6th grade. What gets me excited is 00:00:16.720 --> 00:00:21.699 being able to fix people's problems. You can express yourself, you can build things from 00:00:21.699 --> 00:00:26.920 an idea. Computer science is the basis for a lot of the things that college students 00:00:26.920 --> 00:00:31.550 and professionals will do for the next 20 or 30 years. I like programming because I 00:00:31.550 --> 00:00:36.690 like helping people. I get the opportunity to build something that's going to to make 00:00:36.690 --> 00:00:41.120 people's lives easier. I think it's the closest thing we have to a superpower. Getting started 00:00:41.120 --> 00:00:46.829 is the most important part. I'm a beginner myself, and I want you to learn with me. 00:00:46.829 --> 00:00:50.679 Do you have a favorite video game that you've always wanted to make? Well we're going to 00:00:50.679 --> 00:00:57.109 get started creating games just by using Play Lab. Good games have a story, and every story 00:00:57.109 --> 00:01:02.670 has actors. Actors that do things like speak, move, interact with each other, maybe even 00:01:02.670 --> 00:01:07.680 score points based on the rules of that game. Today, we'll be learning how to do all of 00:01:07.680 --> 00:01:13.540 these things with fun actors like witches, zombies, aliens, and animals--and then build 00:01:13.540 --> 00:01:18.220 a game from scratch that can be shared and played on a phone. 00:01:18.220 --> 00:01:22.930 Your screen is split into 3 main parts. On the left is the game space where your program 00:01:22.930 --> 00:01:28.310 will run. The instructions for each level are written below. The middle area is the 00:01:28.310 --> 00:01:33.520 toolbox, and each of these blocks is a piece of code. The white space on the right is called 00:01:33.520 --> 00:01:38.260 the workspace and this is where we'll build our program. 00:01:38.260 --> 00:01:43.600 To start off, you'll need to link your blocks to the orange "when run" block. You can link 00:01:43.600 --> 00:01:48.620 multiple blocks together by dragging them out until you see the yellow line, and then 00:01:48.620 --> 00:01:50.600 they'll snap together. 00:01:50.600 --> 00:01:56.080 In this first puzzle, our actor is a penguin and we'll be making it say "Hello!" by dragging 00:01:56.080 --> 00:02:02.020 the "say" block out, linking it to the "when run" block, and typing in "Hello." We can 00:02:02.020 --> 00:02:06.940 also make the penguin move by using the "move right" and "move left" blocks. Once you have 00:02:06.940 --> 00:02:11.920 your blocks in place, hit the "run button" to see what you've programmed. Get started 00:02:11.920 --> 00:02:16.439 and by the end, you'll be able to create your own game with all kinds of players that can 00:02:16.439 --> 00:02:23.439 interact, turn happy or sad, score points, or throw fireballs, or even vanish each other. 00:02:23.579 --> 00:02:26.180 It's all up to you and the game you want to make.