Question: Section 8.7 described the generating of mazes. Suppose we want to output the path in the maze. Assume that the maze is represented as a
Section 8.7 described the generating of mazes. Suppose we want to output the path in the maze. Assume that the maze is represented as a matrix; each cell in the matrix stores information about what walls are present (or absent).
a. Write a program that computes enough information to output a path in the maze. Give output in the form SEN... (representing go south, then east, then north, etc.).
b. Write a program that draws the maze and, at the press of a button, draws the path.
Step by Step Solution
3.31 Rating (177 Votes )
There are 3 Steps involved in it
This is a s... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1486-C-S-A(499).docx
120 KBs Word File
