sraaphorst / spelunker

Maze generation and solving library
Other
11 stars 2 forks source link

T32: Added typeclasses for ThickMaze. #33

Closed sraaphorst closed 6 years ago

sraaphorst commented 6 years ago

Added StringThickMazeRenderer to render ThickMaze instances, and then hooked up a Show typeclass to show instances of ThickMaze as strings.

Added the Homomorphism typeclass and an instance of it to convert Maze to ThickMaze.

Added a test binary, testthick.cpp, to put it all together, create a DFS Maze, and then morph it to a ThickMaze and show it.