Skip to main content
Creating Algorithms

Arrive At The Red Square

Use [Drive for] and [Turn for] blocks to code the VR Robot to drive from the Start Position (green square) to the End Position (red square) on the Maze+ Playground.

  • Select the Wall Maze+ Playground.
  • Download the .vrmaze file from this folder and upload the maze in the Playground.
    • For help with uploading and downloading mazes in the Wall Maze + Playground, see this article.
  • Code the VR Robot to drive from the Start Position (green square) to the End Position (red square).
    • Put the instructions in the right order to complete the task successfully.

Helpful Hints

  • The distance across one maze square is 300mm.
  • Use the drive for block from the Drivetrain category to move the Drivetrain for a given distance.

    Drive

    • Matching Python command:

Drive

  • Use the turn for block from the Drivetrain category to rotate the Drivetrain for a given angle.

    turn for

    • Matching Python command:

    turn for