All homework assignments must be done individually (violators will be penalized). Please submit your code, and a PDF that contains the expected results, along with any descriptions you feel may help in the understanding/interpretation of your results. Please compress all files into a single ZIP file.
1. Maze: You can generate a maze starting with a rectangular array of cells. Each cell has four sides. You remove sides (except from the perimeter of all the cells) until all the cells are connected. Then you create an entrance and an exit by removing two sides from the perimeter. A simple example is shown below. Write a program using WebGL that takes as input the two integers N and M and then draws an N x M maze.
2. Guide: Write an interactive program that will allow you to guide a graphical rat through the maze you generated above. You can use the left and right arrow keys to turn the rat and the forward arrow key to move it forward.