Here is a link to a codepen that has the code running : https://codepen.io/leetzorr/pen/BeQvdJ
I have a very basic understanding of how it works, but hey I end up with a generated maze.
Now I am trying to figure out how to add a maze entry point, and a maze end point. Looking at the code base I cannot think of a way to reliably determine this every time a maze is generated. I'm hoping I am overlooking something here, but I am stuck.
Any tips or guidance would be greatly appreciated.