0:00:00.429,0:00:07.309 I'm Lydia Winters, Mojang's brand director[br]and we made a little game called Minecraft. 0:00:07.309,0:00:12.330 My favorite thing to do in Minecraft is explore.[br]I love adventuring in caves and seeing what 0:00:12.330,0:00:17.500 I can find. As someone who isn't a programmer,[br]I'm really excited to go through the Minecraft 0:00:17.500,0:00:25.110 lessons and actually learn some coding myself. 0:00:25.110,0:00:29.820 The last level needed lots of moveForward(); blocks. It would be easier if we could just tell the computer to perform the move forward 0:00:29.820,0:00:36.270 command four or five times. Luckily for us,[br]computers are really good at repeating commands 0:00:36.270,0:00:42.910 with repeat loops. When building Minecraft,[br]we use repeat loops to place all the initial 0:00:42.910,0:00:48.760 materials for creating a new world. That's[br]thousands and thousands of blocks. We also 0:00:48.760,0:00:55.329 use loops in little ways, for example to make[br]Alex's feet move back and forth as she walks. 0:00:55.329,0:01:01.350 Repeat loops are a powerful part of programming. 0:01:01.350,0:01:06.060 Night is coming so in the next couple of levels,we're going to build a house to stay safe.[br]We're going to use the repeat block to do 0:01:06.060,0:01:12.970 this very easily. To build a wall of our house,[br]we can either tell Alex to move forward and 0:01:12.970,0:01:18.280 place planks four times or we can tell her[br]to move forward and place one plank, then 0:01:18.280,0:01:23.920 take this command and use the repeat block[br]to have her perform the action multiple times. 0:01:23.920,0:01:27.909 Now we'll click on the repeat block and tell[br]her how many times we want her to perform 0:01:27.909,0:01:32.329 this action. Now let's build our house before[br]night falls! Have fun.