-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMain.java
More file actions
19 lines (16 loc) · 727 Bytes
/
Main.java
File metadata and controls
19 lines (16 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class Main {
public static void main(String[] args) {
int[][] table = MapGenerator.generateMaze(13, 13, true, 1); // Generated Map
String tableForPrint = PrintTable.getMap(table);
PrintTable.printMap(tableForPrint);
WaveAlgorithm.colorize(table);
tableForPrint = PrintTable.getMap(table);
PrintTable.printMap(tableForPrint);
System.out.println("Maze map");
System.out.println(PrintPretty.printBlockMap(table));
String testPath = SearchWay.SearchWays(table);
System.out.println("Maze path");
int[][] testMaze1 = PrintPretty.showPath(table, testPath);
System.out.println(PrintPretty.printBlockMap(testMaze1));
}
}