‹
EXPLORE · LISTEN · DISCOVER

Order Matters

Technology · CodingADVENTURE 09

Order Matters

Starter · about 6 minutes · a little curiosity goes a long way

Lesson details
Browse all adventures
For grown-ups
Today’s little discovery

Both programs contain one up and two right commands, but a program runs in order. Moving up first avoids the blocked square.

Trace from the start after every reorder; the first collision shows why order matters.

This is a learning model. Try the take-home activity together.
Voice settings

Using Heart (en-US).

Saved voices download ahead of play for this activity. No lesson text is sent to a speech service.The sample plays once and does not change the Sound on/off setting.
Your adventure steps
  1. Wonder
  2. Guess
  3. Try it
  4. Discover
  5. Celebrate
01 / 05
U → R → R
A little wonder
HERE’S A LITTLE WONDER…

Why can the same commands work in one order but fail in another?

A crate blocks the direct first step, so the robot must move above it before crossing.

No rush. Try an idea and see.
Try it

Open Lesson to read the question, choose your idea, and continue.