Lesson 3 · Your square mission

Big jobs.
Small, smart blocks.

Build a 4 × 4 grid. Give each useful job a name.

AI-generated voice · OpenAI CedarPress Read. The words being spoken will glow.

Start with the whole picture

What are we trying to make?

Sixteen little squares, arranged in four rows.

Hey, square builder!

Last time, you made Draw Square. You also used lots of moves and turns to draw more squares. That is a lot of steps to keep track of!

Today, we will give bigger jobs names, too. Our main program will be shorter and easier to follow. Then we can spend more time trying our ideas.

You already built Draw Square. Now your robot can use that tool to do a bigger job.

First, say the plan in ordinary words:

Make the grid
Make one row
Make another row
Make another row
Make the last row

A big job becomes easier when we split it into smaller jobs.

That is divide and conquer.

Say it first

“To make a grid, I need rows. To make a row, I need ______.”

4 rows × 4 squares = 16 squaresWe will build this picture one useful job at a time.