Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- import java.util.ArrayList;
- public class Main {
- public static void main(String[] args) {
- Maze maze = new Maze(
- "## #\n" +
- "## ## #\n" +
- "#B # #\n" +
- "# ## ##\n" +
- " ##\n" +
- "A######\n");
- maze.solve();
- maze.print();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement