Skip to main content

Lesson 2: Mini Challenge

For this mini challenge, create a project where the VR Robot drives to the number ‘8’ and then drives to the number ‘4’ on the Number Grid Map Playground using comparison operators, while loops, and the Location Sensor!

Top down of the number grid playground. The VR Robot can be seen in the bottom left corner on the number 1. Callout boxes are on the numbers 4 and 8 in the bottom row of the Playground.

Follow these steps to complete the mini challenge:

  • Watch the solution video to see how the VR Robot should drive in order to complete the mini challenge. The VR Robot begins on number 1, turns right, then navigates along the x axis to drive to the number 8, then turns around and drives to the number 4. At each number, the robot stops for 1 second to indicate it has reached its location.

  • Create a project by adding or removing the necessary commands to the Unit6Lesson2 project.
  • If you need help determining the coordinates for the numbers '4' and '8,' use this image for reference.

Number Grid Map playground with a coordinate grid overlaid. The intersection of the x and y axes is shown at the intersection of numbers 45, 46, 55 and 56. The x axis goes from left to right with values ranging from negative 1000 to positive 1000. The y axis goes from bottom to top with values ranging from negative 1000 to positive 1000.

  • Start the project to test it.
  • If the project is not successful, edit and try again. Continue to revise and run the project until the VR Robot successfully drives to the number ‘8’ and then to the number ‘4’ on the Number Grid Map Playground.
  • Save the project once the VR Robot successfully drives to the number ‘8’ and then to the number ‘4’ on the Number Grid Map Playground.

Congratulations! You solved the mini challenge!

Questions

Please select a link below to access the lesson quiz.

Google Doc / .docx / .pdf