Maze Runner Vocabulary
Word Bank
| function | define | call |
| sequence | maze | cell |
forward_one_cell |
turn_right |
turn_left |
| DriveBase | calibration | sensor data |
Fill In the Blanks
- A is a named move you can reuse as many times as you want.
- To a function you write
def name():with its steps underneath. - To a function you write its name with parentheses, like
forward_one_cell(). - A program runs top to bottom, one step at a time — that order is the .
- One square step of the maze is a .
- The function that drives forward one step of the maze is .
- Measuring how far one cell really is and adjusting the number is .
- When the robot bumps a wall, that’s — it did exactly what the sequence said.
Quick Checks
-
Circle what
defdoes:
runs a move/names a move/connects the hub -
Circle how you run a function called
turn_right:
def turn_right/turn_right()/turn right -
Your robot stopped short of the next cell. Should the mm inside
forward_one_cell()be bigger or smaller?
Circle one:bigger/smaller -
Put these maze-solving steps in order (number them 1-3):
Write the named moves in the right order
Plan the path on paper
Run it and fix the step that bumped a wall
Stretch: Read the Code
What will this robot do? Write it in plain words.
forward_one_cell()
turn_right()
forward_one_cell()
forward_one_cell()
It will: