Skip to content

ntalbs/maze-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maze-js

Maze Generators in JavaScript. The code comes from Mazes for Programmers, originally written in Ruby, ported to JavaScript and slightly modified to reflect my own idea. But the core logic is the same.

Prerequisites

You will need parcel installed. If it's not installed in your system, install it first.

$ npm install -g parcel-bundler

Setup

Clone the project.

$ git clone https://github.com/ntalbs/maze-js.git
$ cd maze-js

Running the maze

Run parcel:

$ parcel index.html

This will run server on port 1234. You can override the default port with the -p <port_number> option.

$ parcel -p 4000 index.html

Sample Image

Generated maze with hunt-and-kill algorithm.

About

Maze Generators in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published