Generate a maze and solve it in a HTML page, use Canvas to draw the maze and it's solve path.
Put a jQuery-1.9.1.js with the maze.html file (excanvas.js is required if you are using IE9 or earlier version).
Open maze.html, you will see it. Every F5 will create a new maze for you.
![image]
[image]: http://images.cnitblog.com/blog/80555/201312/04114113-61b48f42d11f41ddaca868c567758cdf.png "运行效果图"