Closed sraaphorst closed 6 years ago
Added StringThickMazeRenderer to render ThickMaze instances, and then hooked up a Show typeclass to show instances of ThickMaze as strings.
StringThickMazeRenderer
ThickMaze
Show
Added the Homomorphism typeclass and an instance of it to convert Maze to ThickMaze.
Homomorphism
Maze
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.
testthick.cpp
Added
StringThickMazeRenderer
to renderThickMaze
instances, and then hooked up aShow
typeclass to show instances ofThickMaze
as strings.Added the
Homomorphism
typeclass and an instance of it to convertMaze
toThickMaze
.Added a test binary,
testthick.cpp
, to put it all together, create a DFSMaze
, and then morph it to aThickMaze
and show it.