With Tek

How to program a pet robot

To program a pet robot to fetch, break fetch into small steps, add a start signal, tell the robot to keep going until it touches something, and have it check whether the thing is the ball. In this course your kid writes that program on cards. It starts as five steps: go to the ball, pick it up, turn around, come back, drop it. Then your kid adds a When I say Fetch! card, swaps a fixed number of steps for a keep going until card, and adds an Is it the ball? question. Tek hosts four short films for kids 6 to 13, and a grown-up or a toy plays the robot. Your kid ends with a whole fetch program on cards. Plan about 4 minutes of films and 30–45 minutes of play. On Kubrio, all four films and the quiz are free, with no account.

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 tour

What your kid makes

Your kid ends with a fetch program on cards: a start word, a keep going until step, a question, and the steps that bring the ball home. A grown-up plays the robot, bumps into a sock, keeps going, and comes back with the ball.

Ages
6 to 13
Time
4 films, about 4 minutes, then 30–45 minutes of play
You need
Paper or blank cards, and a pencil, a soft ball and a sock, a clear bit of floor, a grown-up or a toy to play the robot
Host
Tek

The 4 lessons

  1. Lesson 1. Break fetch into steps

    A robot doesn't know fetch. It only does the steps in its program. So fetch becomes five small steps: go to the ball, pick it up, turn around, come back, drop it.

    1. Draw your pet robot
    2. Write the five fetch steps on cards
    3. Put the cards in order

    Where: Paper

  2. Lesson 2. Wait for the word

    A start card goes on top of the program: When I say Fetch! Nothing happens until the robot hears the word. Coders call this an event.

    1. Make a When I say Fetch! card
    2. Put it on top of your program
    3. Say the word and let your robot go

    Where: At home

  3. Lesson 3. Go until you touch it

    The ball lands in a new place every time, so a fixed number of steps fails. A keep going until you touch something card works near or far.

    1. Make a keep going until card
    2. Roll the ball near, then far
    3. Test the program both times

    Where: At home

  4. Lesson 4. Ball or sock?

    The robot picks up the first thing it touches, so it needs a question card. Is it the ball? If yes, pick it up. If no, keep going.

    1. Add the Is it the ball? card
    2. Put a sock and a ball on the floor
    3. Play the whole fetch program

    Where: At home

Take the quiz

Tek asks 3 questions about the films. Get 2 right and you finish the course.

Transcript

Lesson 1: Break fetch into steps

Hi, I'm Tek! Meet my pet robot. Today we teach it to play fetch!

I throw the ball. Nothing happens! A robot doesn't know fetch. It only does the steps in its program.

So we break fetch into small steps. What does a dog do when you throw a ball?

Go to the ball. Pick it up. Turn around. Come back. Drop it! Five steps, five cards.

Now the robot reads the cards, one by one. Go, pick up, turn, come back, drop. Fetch!

Your turn. Draw your pet robot. Write the five fetch steps on cards, and put them in order.

Lesson 2: Wait for the word

Your robot can fetch! But wait. It zooms off before you throw the ball.

It needs a start card. When I say fetch! That card goes on top of the program.

Now the robot sits and listens. Nothing happens until it hears the word.

Throw the ball. Fetch! Now the program starts. Go, pick up, turn, come back, drop.

Coders call this an event. Something happens, and the program starts.

Your turn. Make a card that says, when I say fetch. Put it on top, and your robot waits for the word.

Lesson 3: Go until you touch it

Here's a tricky one. Your robot can't see the ball. And it lands in a new place every time!

Go three steps? Sometimes the robot stops too soon. Sometimes it rolls right past the ball.

Here's a better card. Keep going until you touch something.

Near or far, it works. Roll, roll, roll, bump! Stop. Pick it up.

The robot checks again and again. Am I touching it? No, keep going. Yes, stop!

Your turn. Make a keep going until card. Roll the ball near, then far, and test it.

Lesson 4: Ball or sock?

Uh oh! My robot brought back a sock. It picked up the first thing it touched!

Let's add a question card. Is it the ball? If yes, pick it up. If no, keep going.

Here's the whole program. Wait for fetch. Go until you touch something. Is it the ball? Pick it up, turn around, come back, drop.

Your grown-up plays the robot. Fetch! Bump, a sock. No, keep going. Bump, the ball. Yes! Bring it home.

One program, three big ideas. Wait for a word, keep going until, and ask a question.

Your turn. Put a sock and a ball on the floor, and play it all. You made a fetch program!

Free guides to practise with

Questions parents ask

Do we need a real robot?

No. A grown-up, a brother or sister, or a toy plays the robot and follows the cards exactly. That's the fun part for most kids: the robot only does what the program says, so every gap in the steps shows up right away.

What coding ideas does fetch teach?

Four of them in one small program: putting steps in order, starting on a signal (an event), repeating until something happens (a loop with a stop), and asking a question to decide what to do (if this, then that).

What age is this for?

Kids 6 to 13. Younger kids can lay out the five step cards and call Fetch! Older kids can add the keep going until card and the question card, then test the program with the ball in new places. All four films and the quiz are free on Kubrio, with no account.

See every course

From the makers of these free courses

Curious, not hooked.

Kids explore worlds, ask the people who made them anything, and make their own things. 20 minutes a day by default, and you can change it.

3 days free, then $49 $19 a month per kid.

  • 13worlds open
  • 500+questions answered
  • 20 mina day, set by you