< Return to Video

Minecraft: Voyage Aquatic Repeat Until

  • 0:00 - 0:01
    Great!
  • 0:01 - 0:02
    We've caught a codfish!
  • 0:02 - 0:08
    Did you know if you feed a codfish to a dolphin,
    the dolphin will guide you to a shipwreck
  • 0:08 - 0:10
    where there may be treasure?
  • 0:10 - 0:12
    We must be getting closer.
  • 0:12 - 0:18
    The next set of puzzles are bound to be trickier,
    so we better learn some more coding skills.
  • 0:18 - 0:19
    What's this?
  • 0:19 - 0:20
    A cave?
  • 0:20 - 0:21
    Welcome, adventurers!
  • 0:21 - 0:23
    My name is Squid.
  • 0:23 - 0:28
    I noticed you were using the same set of commands
    over and over in some of the last puzzles.
  • 0:28 - 0:30
    Must've been a bit tiresome.
  • 0:30 - 0:34
    Do you ever wish you had a way to do something
    over and over again like, you know,
  • 0:34 - 0:38
    washing dishes or brushing your teeth
    without getting tired or bored?
  • 0:38 - 0:39
    That would be nice.
  • 0:39 - 0:45
    Computers are really good at doing the same
    thing over and over again using coding loops.
  • 0:45 - 0:49
    When you want your program to do the same
    instructions many times, you can use a loop!
  • 0:49 - 0:54
    The loop contains instructions with the command
    to repeat until goal.
  • 0:54 - 0:59
    Once your program starts a repeat until goal
    loop, it will keep reading the instructions
  • 0:59 - 1:02
    inside until it gets to the goal.
  • 1:02 - 1:03
    Try this for yourself!
  • 1:03 - 1:08
    Place the commands you want to repeat inside
    the repeat until goal block,
  • 1:08 - 1:10
    click run, and watch it go!
  • 1:12 - 1:14
    Well, that was a little weird.
  • 1:14 - 1:16
    Who knew squids could code?
  • 1:16 - 1:19
    I didn't even think they had fingers.
  • 1:19 - 1:21
    So now we know about loops.
  • 1:21 - 1:23
    Let's use them to bag us some more treasure.
  • 1:23 - 1:24
    Subtitles by the Amara.org community
Title:
Minecraft: Voyage Aquatic Repeat Until
Description:

more » « less
Video Language:
English
Team:
Code.org
Project:
CSF '21-'22
Duration:
01:25

English subtitles

Revisions Compare revisions