Cozmos 10H Program: Session 7

Giant Mazes!

Last session, we got to play in Cozmo’s Code Lab, where we can make programs for our Cozmo. Remember: a program is a series of functions (or actions). You create this series by dragging the blocks into the Code Lab Sandbox in the order you want, clicking them to the green flag block. You run the whole program by clicking the green flag at the start. To delete an action, just drag it off the bottom of the screen!

This session, we are going to make our own mazes and program Cozmo to drive through them. Use masking tape to outline a maze on the floor and use the Code Lab to get Cozmo from the start to the end. You’ll have to test each part of the code from the beginning of the maze and add on to it each time.

Too easy? Try adding on to your maze, using fewer blocks, or coding Cozmo to get to the end of the maze and all the way back! If you make a large maze, multiple teams can use the same Cozmo by staggering the start times.