With Tek
How to code a robot
This course teaches your kid how to code a robot without a screen. A grown-up plays the robot and follows only your kid's paper command cards. Tek hosts four short films: robots do exactly what you say, writing a program, finding the bug, and the repeat card. Plan about 4 minutes of films and 30–45 minutes of play.
All 4 lessons and the quiz are free on this page. Your kid doesn't need an account. See every lesson
Liked this lesson?
There's a whole world of this.
In Kubrio Worlds your kid explores places, asks the people who made them anything, and makes their own things. You set the screen time.
3 days free, then $49 $19 a month per kid.
▶ 1:45 tourWhat your kid makes
Your kid ends with a set of command cards, a few programs that work, one bug found and fixed, and a repeat card that makes a long program short. It's the same thinking behind every robot and every app: clear steps, in order, tested and fixed.
- Ages
- 6 to 13
- Time
- 4 films, about 4 minutes, then 30–45 minutes of play
- You need
- Paper or index cards, markers, painter's tape for a floor grid, or a paper grid and a toy, a teddy or any small toy, a grown-up to be the robot
- Host
- Tek
The 4 lessons
Lesson 1. Exactly what you say
A robot does exactly what you say, so it needs clear steps.
- Make five command cards: forward, turn left, turn right, pick up, drop
- Make a grid with tape on the floor, or draw one on paper
- Ask a grown-up to be your robot and follow only the cards
Where: At home
Lesson 2. Write a program
Cards in a row, in order, are a program.
- Put a teddy on one square of the grid
- Lay out your cards to plan the path
- Read the cards out loud, one at a time, while your robot goes
Where: At home
Lesson 3. Find the bug
A card that does the wrong thing is a bug, and fixing it is debugging.
- Ask your grown-up to sneak in one mixed-up card
- Run the program slowly and stop where the robot goes off the path
- Swap that one card and run it again
Where: At home
Lesson 4. The repeat card
One repeat card does the work of many cards.
- Draw a repeat card with a number on it
- Give your robot a long path
- Make the program short with repeats, then swap and be the robot
Where: At home
Take the quiz
Tek asks 3 questions about the films. Get 2 right and you finish the course.
Transcript
Lesson 1: Exactly what you say
Hi, I'm Tek. Today a grown-up turns into a robot. Your robot!
Robots do exactly what you say. Not what you mean. Exactly what you say.
Tell a robot to walk forward, and it walks. And walks. Right into the couch. Bonk!
So a robot needs clear steps. Make five command cards. Forward one step. Turn left. Turn right. Pick up. Drop.
Now make a grid. Tape squares on the floor, big enough for a foot. Or draw a grid on paper, and use a toy.
Robot rule! Your grown-up does only what the cards say. No guessing. No helping. Beep boop!
Your turn. Make five command cards. Make a grid. Ask a grown-up to be your robot. Then press Next.
Lesson 2: Write a program
Your robot is ready. Let's give it a job!
Put a teddy on one square. That's the goal. Your robot starts here, facing the arrow.
Now plan the path, one square at a time. Forward. Forward. Turn right. Forward. Pick up!
Cards in a row, in order. That's a program. You just wrote one!
Now run it. Point at the first card and read it out loud. Your robot does that one step. Then the next card.
Forward. Forward. Turn right. Forward. Pick up! Your robot got the teddy!
Your turn. Put a teddy on the grid. Lay out your cards. Read them out loud, and watch your robot go. Then press Next.
Lesson 3: Find the bug
Uh-oh. Sometimes a program goes wrong. That's okay. It happens to every coder!
Watch this one. Forward. Forward. Turn left. Forward. Wait, the teddy is over there!
A card that does the wrong thing is called a bug. Finding it and fixing it is called debugging.
Run it again, slowly. Point at each card. Stop the moment your robot goes the wrong way.
Found it! This card says turn left. It should say turn right. Swap just that one card.
Now run it from the start. Forward, forward, turn right, forward, pick up. Bug fixed!
Your turn. Ask your grown-up to sneak in one wrong card. Run it. Find the bug and fix it. Then press Next.
Lesson 4: The repeat card
Last lesson. Let's make your programs shorter!
This teddy is far away. Forward, forward, forward, forward. That's a lot of forward cards!
So here's a new card. Repeat! Write a number on it, and put a card next to it. Repeat four times: forward.
One repeat card does the work of four. Coders use repeats all the time.
Now a big job. Get the teddy, and drop it in the basket. Repeat four, forward. Pick up. Turn left. Repeat three, forward. Drop!
Then swap! You be the robot, and your grown-up writes the program. Beep boop!
Your turn. Draw a repeat card. Give your robot a long path, then make it short. You programmed a robot!
Free guides to practise with
Questions parents ask
Does my kid need a robot or a coding app?
No. A grown-up plays the robot, and the program is a row of paper cards. The films show the ideas behind real coding: exact steps, order, bugs, and loops.
How much space do we need?
A small patch of floor for a grid of tape squares, each about a big step wide. A paper grid on the table with a toy as the robot works too.
How long does it take?
The four films take about 4 minutes. Making the cards and running a few programs takes about 30–45 minutes, and the role swap at the end is often the favorite part.
