Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 684 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 684 Bytes

Maze Generator

An example of a simple maze generator built with the awesome p5.js library.

Live Demo https://cahilfoley.github.io/maze-generator/

This example uses a depth-first search pattern and implements recursive backtracking for 100% coverage of the grid.

The implementation is written with modern javascript features, if you are confused by the .mjs extension there is an explanation here and some general information on ES modules here.