This is a repo to hold code for the topics in the book Mazes For Programmers by Jamis Buck.
The original works in the book are implemented in Ruby. This project uses JS (Typescript soon) and the Canvas API to create the mazes.
git clone
this repo- make sure you have http-server or some other way to serve the files locally
cd
into the directory and runhttp-server
, this starts a local http server usually onhttp://localhost:8080
- browse to
http://localhost:8080/index.html
(if you configured a different port, use that) - If you'd like to make the mazes larger, play with the
gridConfig
variable inapp.js
- You can increase or decrease the pixel size of the cells and increase or decrease the rows and columns in the maze