The Way To Go
Challenge: In this game, arithmetic operations are located in hexagons with different colored outlines (please see the image). The VR Robot has a starting score of 100 points. Each time the robot moves into a hexagon, the score is updated based on the arithmetic operation inside the hexagon. The object of the game is to code the VR Robot to drive from the Start Position in the green-outline hexagon, move through a sequence of adjacent hexagons (passing through only one hexagon of each colored outline), and ultimately arrive at the End Position in the red-outline hexagon to achieve the maximum points. Use the Pen to fill in each hexagon the robot passes through with the same color as its outline to indicate the path, and print the score to the Print Console. The highest score wins!
- Download The Way To Go activity worksheet as a PNG file from this Google slideshow.
- To learn more about downloading .png files from slideshows, see this article.
- Select the Art Canvas+ Playground and upload The Way To Go activity worksheet image.
- To learn more about uploading images to the Art Canvas+ Playground, see this article.
- Determine a path for the robot that can achieve the maximum score based on the game rules.
- Declare a variable to store and track the score. Initialize it to 100.
- Code the VR Robot to drive from the Start Position in the green-outline hexagon to the End Position in the red-outline hexagon to achieve the maximum score.
- Code the VR Robot to drive into the green-outline hexagon. Use the VR Pen to fill in the hexagon with green.
- Move the VR Robot into one adjacent turquoise-outline hexagon. Use the VR Pen to fill in the hexagon with turquoise. Update the score value based on the arithmetic operation in the hexagon.
- Move the VR Robot into one adjacent purple-outline hexagon. Use the VR Pen to fill in the hexagon with purple. Update the score value based on the arithmetic operation in the hexagon.
- Move the VR Robot into one adjacent pink-outline hexagon. Use the VR Pen to fill in the hexagon with pink. Update the score value based on the arithmetic operation in the hexagon.
- Code the VR Robot to drive into the red-outline hexagon. Use the VR Pen to fill in the hexagon with red.
- Monitor the score variable value in the Monitor Console. Use the [print] block to print the score value to the Print Console.
Helpful Hints
- Use the add block from the Operators category to add two values together and report the sum.
- Matching Python command:

- Matching Python command:
- Use the multiply block from the Operators category to multiply two values together and report the product.
- Matching Python command:

- Matching Python command: