You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Displaying the solution now works properly (but only from top left to bottom right at the moment): set the showSolution property to true when displaying the maze. You can customise the color with solutionColor.
The maze class now has a new method: .getSolution(), which returns the solution to the maze. It optionally takes in a start and end point (in that order).
.calulateDistances() is now .getDistances()
Changed getElementByTag to getElementByTagName in display() (bug fix)
Removed files needed for Github packages. (I have given up trying to get it to be able to be both a Github and npm package.)