sraaphorst / spelunker

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

T112: Add neighbours method to mazes #113

Closed sraaphorst closed 6 years ago

sraaphorst commented 6 years ago
  1. Added an abstract neighbours method to AbstractMaze.
  2. Added implementations to Maze, ThickMaze, and GraphMaze.

Note that a wall in a ThickGraph should return nothing.