A functional approach to maze generation using the book Mazes for Programmers as a guide.
- First install stack then clone the repo.
- Execute
stack build
in the project's directory. - Run
stack run fmaze
and you should get a fileout.png
with the results of maze generation.
├── functional-mazes.cabal
├── LICENSE
├── README.md
├── Setup.hs
├── src
│ ├── Algos.hs # where maze generation algorithms live
│ ├── Draw.hs # code for rendering mazes into images
│ ├── Main.hs
│ └── Maze.hs # code for graph projection into mazes
└── stack.yaml