Skip to content
a simple maze generator
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
lib
test
.gitignore
LICENSE
README.md
gulpfile.js
index.js
package-lock.json
package.json

README.md

amaze

a simple maze generator using DFS algorithm to generate a maze and the BFS to solve.

generally a good idea to have a maze with odd number for width, height. does not have to be square.

usage,

  var maze = require('amazejs');

  var m = new maze.Backtracker(33, 33);
  m.generate();

  var start = [1, 1];
  var end = [31, 31];
  var soln = m.solve(start, finish);

  ...

in a browser

see demo

a maze...

no, it's not particularly amazing either...

You can’t perform that action at this time.