by: Jaina
The first thing I did was set the robot to drive straight forward and hit the blocks in front of it.
I then had it turn right and go to the edge of the map before turning again.
After that, I just reused the looping code from last time that made the robot go around the edge of the map, hitting all of the blocks in its way.
I also added two blocks so the robot would draw its path; I wanted to show where the robot went.
by: Jaina
This assignment was a bit tedious because of how the maze was setup.
The very first thing I had to do was figuring out how to use the sensors in the first place, as they only work in specific lines of code.
In regards to the code itself, I had to make the robot drive forward until it hit a wall, then turn, go forward, and so on.
After I mapped out all of the instructions I went back and tried to compact the code with loops, though there weren't many chances to do so.
by: Byron