Maybe the maze could be created as a tree initially instead of going from array --> graph/tree. Either way it's awkwardly implemented and doesn't necessarily work well with other functions. (What are the most important features? coordinates? structure? How to access as both a coordinate and a node along the tree?
Maybe the maze could be created as a tree initially instead of going from array --> graph/tree. Either way it's awkwardly implemented and doesn't necessarily work well with other functions. (What are the most important features? coordinates? structure? How to access as both a coordinate and a node along the tree?