Robot Maze 2
- Ben Graber
Your goal is to program the kite-shaped robot to navigate the maze from start to finish using transformation commands. The robot cannot pass through any of the red walls.
Create a set of commands to move the robot from the starting position to the ending position. Each command must be entered on a separate line and must be concluded with a semicolon. The commands you may use are: translate (amount right, amount up); rotate (degrees counterclockwise, point of rotation) reflect (line of reflection) EXAMPLE: translate (0, -4); This would move the robot down four units on the grid rotate (90, (1.5, 5)); This would rotate the robot 90 degrees counterclockwise around the point (1.5, 5) reflect (y=3); This would reflect the robot over the line y=3