maze_generator
maze_generator copied to clipboard
A work-in-progress Javascript maze generator module, compatible with both Deno and Node. 🌽
Some algorithms could have functions that pick neighbor cells to connect to that aren't completely random. Some examples: - [x] Horizontal and vertical bias (e.g. picking a vertical neighbor is...
Currently we have two coloring modes: `"normal"`, which is just one color, and `"distance"`, which colors the cells according to the distance from a certain point. Here are a few...
An option to have multiple start points for some algorithms could be nice. Algorithms that this would work well with: * Recursive backtracker * Simplified Prim's * Aldous Broder
E.g. hexagonal tiles, circular mazes, and irregular shapes. This will probably require a rewrite of much of the code, so it is more of a long-term aim.
At the moment, the properties related to colors in the display function can only be in the form of hex strings. Eventually I hope to support all strings which are...