(Create a maze) Write an applet that will find a path in a maze, as shown in Figure 20.13a. The maze is represented by an board. The path must meet the following conditions:
• The path is between the upper-left corner cell and the lower-right corner cell in the maze.
• The applet enables the user to place or remove a mark on a cell. A path consists of adjacent unmarked cells. Two cells are said to be adjacent if they are horizontal or vertical neighbors, but not if they are diagonal neighbors.
• The path does not contain cells that form a square. The path in Figure 20.13b, for example, does not meet this condition. (The condition makes a path easy to identify on the board.)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.