public void MazeGenerationTest3() { int dimension = 100; int dumbSmart = dimension / 10 * 3; int seed = 3122; RandomMaze maze = new RandomMaze(dimension, seed, 0.50f); Node destPoint1 = maze.generatePossibleDestPoint(maze.edgePoints, maze.startPoint); maze.GenerateMazeWithDestBranch(1, 1); maze.printMaze(); }
public void MazeGenerationTest2() { int dimension = 100; int dumbSmart = dimension / 10 * 3; int seed = 3122; RandomMaze maze = new RandomMaze(dimension, seed, 0.50f); Node destPoint1 = maze.generatePossibleDestPoint(maze.edgePoints, maze.startPoint); Console.Write("destPoint 1 + " + destPoint1); //maze.updateMazeRoad(maze.generateDumbPathToDestPoint(0, 0, 1, 1)); //maze.updateMazeRoad(maze.generateDumbPathToDestPoint(100, 100, 1, 1)); //maze.updateMazeRoad(maze.generateDumbPathToDestPoint(5, 19, 1, 1)); //maze.updateMazeRoad(maze.generateDumbPathToDestPoint(10, 19, 1, 1)); //maze.updateMazeRoad(maze.generateDumbPathToDestPoint(19, 5, 1, 1)); //maze.updateMazeRoad(maze.generateDumbPathToDestPoint(0,0, dumbSmart, dumbSmart)); maze.GenerateMazeWithRandomPoint(50, 1, 1); maze.printMaze(); }