Public Member Functions | |
int | initMaze () |
Cell * | backtracking (Cell *c) |
void | drawMaze () |
int | startMaze () |
double | testMethod () |
removes the wall between the two cells and marks the new cell as visited. this continues until a cell that has no unvisited neighbours is reached
void RecursiveBacktracker::drawMaze | ( | ) |
Created by Anja Wimmer on 27.04.18. Quelle: (https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker)print maze to terminal
int RecursiveBacktracker::initMaze | ( | ) |
large grid of cells, each cell starting with four walls