Question: Display Maze Lab Write a program that creates and displays a 10 by 10 maze. Here is an example of a maze display: This is
Display Maze Lab Write a program that creates and displays a 10 by 10 maze. Here is an example of a maze display: This is just an example. Create a different maze for your program. Use this starter code: public class DisplayMaze f I/ represent elements of maze array with enumerated data type Values enum Values f SPACE, WALL, ESCAPE public static void main( Stringl) args) // mazeIl) stores walls, spaces, and exits of maze Values mazel -new Valuesf10f10; // your code here // initializes maze public static void createMaze( Values mazelI)f // your code here // displays maze public static void showMazet Values mazeO) //your code here 1// end of DisplayMaze
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
