WEBVTT 00:00:04.420 --> 00:00:08.320 Stampy: I wonder what Stacy is up to? 00:00:13.020 --> 00:00:17.380 Stacy: Woah, I think I'm in the right place. 00:00:17.380 --> 00:00:19.300 This is amazing! 00:00:19.300 --> 00:00:22.160 I feel like I'm back in Minecraft! 00:00:22.160 --> 00:00:23.700 Hello. 00:00:23.700 --> 00:00:24.700 How are you? 00:00:24.700 --> 00:00:26.760 Hello? 00:00:26.860 --> 00:00:30.740 Oh, there's a creeper. You don't do anything, do you? 00:00:30.880 --> 00:00:31.380 Katie: Stacy? 00:00:31.420 --> 00:00:32.180 Stacy:Hi, Katie? 00:00:32.240 --> 00:00:32.740 Katie: Yes! 00:00:32.780 --> 00:00:33.960 Welcome to Minecraft. 00:00:33.960 --> 00:00:34.780 Stacy: Thank you! 00:00:34.780 --> 00:00:36.900 Katie: Come on in! 00:00:38.080 --> 00:00:39.620 Stacy: This is amazing. 00:00:39.620 --> 00:00:42.740 So you work here every day as a developer, right? 00:00:42.740 --> 00:00:44.320 Katie: Yeah, it's pretty awesome. 00:00:44.320 --> 00:00:46.789 I'm a developer on the Minecraft marketplace team. 00:00:46.789 --> 00:00:49.310 Stacy: How many coding languages do you know? 00:00:49.310 --> 00:00:51.980 Katie: In my career I've probably worked with over a dozen. 00:00:51.980 --> 00:00:52.980 Stacy: A dozen? 00:00:52.980 --> 00:00:53.980 Katie: Yeah. 00:00:53.980 --> 00:00:57.539 Stacy: So now, you wouldn't happen to know anything about this little golem guy that 00:00:57.539 --> 00:00:59.040 calls himself "the Agent"? 00:00:59.040 --> 00:01:05.800 Katie: We use the Agent to do things that Steve or Alex can't, like go across lava. 00:01:05.800 --> 00:01:10.009 Stacy: Well, I want to learn how to code, and they want to learn how to code, so what 00:01:10.009 --> 00:01:13.050 is one of the first things that you need to know when you're learning? 00:01:13.050 --> 00:01:15.550 Katie: Well, you need to learn how to use loops. 00:01:15.550 --> 00:01:16.550 Stacy: Ok. 00:01:16.550 --> 00:01:20.890 Katie: Loops are things that developers write to give commands to a computer that can be 00:01:20.890 --> 00:01:22.050 run over and over again. 00:01:22.050 --> 00:01:25.640 Stacy: Got it, so I think there's actually some of that coming up in the levels ahead, 00:01:25.640 --> 00:01:28.869 so go ahead and give loops a try. 00:01:28.869 --> 00:01:32.860 In the next level, you can use a loop to move the Agent along the path. 00:01:32.860 --> 00:01:38.110 Drag the repeat block into the workspace and place the move forward block inside the repeat 00:01:38.110 --> 00:01:39.170 block. 00:01:39.170 --> 00:01:43.750 This tells the computer to do the same thing many times in a row without having to drag 00:01:43.750 --> 00:01:46.340 a whole bunch of blocks into the workspace. 00:01:46.340 --> 00:01:50.640 You can choose how many times to repeat by putting a number in the repeat block. 00:01:50.640 --> 00:01:55.700 You can put turns and multiple commands in the repeat block too, but for now try using 00:01:55.700 --> 00:01:59.000 a repeat to move the Agent forward a few steps. 00:01:59.000 --> 00:02:02.649 Remember, if you get stuck on a puzzle you can always hit the blue "reset" button and 00:02:02.649 --> 00:02:03.759 try again. 00:02:03.759 --> 00:02:08.770 If you are thinking about having a cool job like Katie's, go ahead and click the "show 00:02:08.770 --> 00:02:11.440 code" button when you finish every level. 00:02:11.440 --> 00:02:15.000 That's going to actually show you the Javascript code that someone like Katie uses when she's 00:02:15.000 --> 00:02:16.840 actually programming Minecraft. 00:02:16.840 --> 00:02:18.350 So anyway, thank you so much! 00:02:18.350 --> 00:02:19.599 Katie: Yeah, good luck everyone!