Generate Voronoi Maze to out.txt file by running:
g++ .\mazeGen.cpp .\efficientPoisson.cpp
./a.exe > out.txt
Format of out.txt:
- First two lines are coordinates of the start room and the end room.
- The remaining lines are the coordinate of the walls
To visualize the maze:
- Create Virtual Env by:
python -m venv env
- Install requirements:
.\env\Scripts\activate (For windows) pip install -r requirements.txt
- Simulate the Maze:
python .\voronoi.py