This is an empty container

Click the button below to call the plugin on it

The empty container is shown to demonstrate what the plugin will do to an existing container element.

This page and any page that intends to use the plugin will need jQuery to work.
The plugin also uses Bootstrap 3 and jQueryUi, which it fetches if the page doesn't already use them.
The plugin could conceivably be re-written without the need for these dependencies, but would require a lot more (and much less readable) code.

For the plugin to work, the developer needs to put the "game" folder in the root directory.
By importing the "game.js" file in the page's js file, the developer can make a call to the mazify function on a container's id.

The bot is fairly dumb. It can only look one step ahead and in four directions (up, down, left, right).
That means that even if the target is in a diagonally adjacent tile to its own, the bot has no idea.
Having said that, the bot does have a preference for unexplored tiles over explored ones.