Most games have an object to interact with.


For example, relay race runners must pick up and hand off the baton with speed and accuracy.

Can you think of other examples?

Build these 4 game components.


We’ll use them one at a time.

  • Practice Driving Base with a Distance Sensor
  • Arm
  • Marker
  • Cube

Stop at object: with or without sensor?

SPIKE Competition Ready Training camp 2 Step03-Program - en-us

Place your Driving Base 30 cm (12 in.) away from the marker.

Try these 2 programming stacks one at a time and decide which is best.

One of the stacks uses the Distance Sensor to detect the object in front of the Driving Base.

Drive forward and grab the cube.

Add extra programming blocks to your programming stack to make it:

  • Lower the grabber after stopping at the marker
  • Reverse and move the cube away from the marker

Here’s one way to solve this:

SPIKE Competition Ready Training camp 2 Teacher solution - en-us

Watch the relay race!


Create a relay race program.

Will you be the fastest?

Check the hint for the rules of the game.

Here are the rules:

1. Set a distance of 12 in.
2. Break the cube into four different colored relay batons.
3. Program your Practice Driving Base to collect all of the colored batons one at a time from the marker. 
4. Remove each baton from the Practice Driving Base as it’s delivered.

Think about how you did. 


What did you do well? Is there anything you could’ve done better?

Looking good!