A program made using Java that implements basic path finding and other operations on a randomly generated maze.
- Generate a New Maze
- Load Maze from Existing File
- Save Maze to File
- Display Loaded Maze
- Find Escape
- Once Main.java is run, the user is prompted with 2 options,
- Generate new maze
- Load maze from existing file
- If new maze is to be generated, the user is asked to enter an integer as input for the dimensions of the maze. The generate() function from Maze.java is triggered and a new square maze of specified dimensions is created.
- If maze is to be loaded, user is asked to enter the path of the file that is used for importing the maze. Errors are handled.
- Once the maze has been loaded into the program from either of the mentioned options, the maze object in Main.java is updated and other operations are made available for use.
- The user is now prompted to perform any of the operations that were mentioned earlier. All the operations are coded in the 'Maze.java' file in the 'src' directory.
- User can save the maze to a file before terminating the program.
- When done, the program can be terminated by using the Exit option from the Menu.