Hands off!

lesson-header

Competition teams can’t touch their Driving Base while it’s running.

How will you make sure that everyone is involved in writing reliable programs?

Two markers to practice with.

student-02

Build these markers and place them 50 cm (20 in.) apart.

Try this My Block.

SPIKE Competition Ready My code our program Step03-Program - en-us
student-03

What does it do?

A My Block is a way to create a group of actions that can be repeated whenever you need them.

This My Block will make your Advanced Driving Base move forward for 2 rotations.

Alright, your turn!

student-04.png

Create a My Block that’ll make your Driving Base drive in a square.

Play your program whenever you‘re ready!

Press the “Make a Block” button and name it "Drive-Square."

Add whichever programming block is needed to drive in a square under the “Define Drive-Square” hat.

Add your “drive in a square” block under the “drive straight” block and play the program!

Everybody create a My Block!

student-05.png

Watch the video above and figure out which My Blocks you need. 

Create and test your programs.

Each member of your team can work on a different shape before you combine your blocks:

  • Drive in a square
  • Drive in a circle
  • Drive in a triangle

Think about how you did.

student-06

Are you pleased with your performance? Is there anything you could’ve done better?

My Blocks are a fantastic way to simplify your programs and work as a team.