Code Crew G2 / Week 04 / Friday
5/6
Week 04 · Loop Logbooks

Friday

Build your own loop flight
// Track a box through every lap
⏱ about 15 min
Rocket the inventor holding his engineering tablet

Loop day, Code Crew!

Today you write loop flights for Nova.

You pick the cards. Nova flies them.

Each lap, Nova runs the cards under repeat.

There is no wrong flight today.

Every flight teaches us something new.

WARM-UP: OFF BY ONE
  • Check the start. Count the laps.
  • Tap the answer.
set steps to 0
repeat 5 times:
change steps by 1
?
set steps to 1
repeat 3 times:
change steps by 1
?
Rocket example loop flight with six lines

Rocket shows an example

set steps to 3
set height to 1
repeat steps times:
fly up height
change height by 1
stop
land

Lap 1, Nova flies up 1.

Lap 2, up 2. Lap 3, up 3!

Same lines, a new number each lap.

Raven the explorer with her wrist computer

What do you notice?

Cards under repeat run every lap.

Stop ends the loop.

Put the repeat card near the top.

Nova the drone-bird hovering with glowing eyes

Nova will fly it

You get five cards. Pick four.

Put them in any order.

Press play and watch Nova fly!

BUILD A LOOP FLIGHT
CREATIVE · NOT GRADED
  • Drag four cards into the slots.
  • Press play to watch.
1line 1
2line 2
3line 3
4line 4

You wrote a loop flight!

Did Nova fly the way you planned?

If not, that is a clue. Try again!

Flight number two!

Five new cards and the count box.

Make Nova count out loud.

BUILD FLIGHT NUMBER TWO
CREATIVE · NOT GRADED
  • Drag four cards into the slots.
  • Press play to watch.
1line 1
2line 2
3line 3
4line 4
Rocket, Raven, and Nova the drone-bird together

What a loop flight!

You built two loop flights!

Show someone your program.

Read each line out loud.

Tomorrow is Crew Quest day!

← Thursday