Exemple #1
0
int main(int argc, const char * argv[]) {
	srand(time(NULL));
	int seed = rand();
	seed = 1123672526;
	printf("Seed: %d\n", seed);
	srand(seed);
	
	Maze maze;
	
	maze.generateMaze();
	maze.printMaze();
	
	maze.solveMaze();
	
	maze.printMaze();
	
    return 0;
}
Exemple #2
0
void testMaze() {
	Maze m;
	m.generateMaze(20, 50);
	m.printMaze();
}