Create a "border" around the edge

110 views 8:30 am 0 Comments April 4, 2023

1. Create a Maze class that contains a 10 x 10 array

 

2. Create a “border” around the edge made up of stars which will be impenetrable.

 

3. Create a start position at the lower left-hand corner and an end position at the upper right-hand corner.

 

4. Randomly assign all other positions on the map as either blank (passable) or * (impenetrable)

 

5. Create a method that will check if the player can move from the starting position to the ending position by moving only up and to the right.

 

6. If the maze is unsolvable by the parameters specified in step 5, redraw the map.

 

7. Once a successful map is drawn, tell the player how many tries it took to create a maze that meets standards.

 

8. Create the ability to move up, down, left, or right.

 

9. Create a character Java class that contains SOME of the properties specified on pages 4 – 7 of the