This is a project uses simple typesciprt,html and css to visalize the path finding and mazification algorithms. The main highlight of this project is that this does not rely heavyly on the mordern framewroks like react, angular, etc.
- DFS Mazification
- The first Checkbox is to enable or disable the maze.
- the next selection input is reposinsible for speed of the render/animation we have super fast, fast, medium, slow, super slow.(I personally prefer super fast 😅).
- next we have a selection of search algoirthms. DFS, BFS and A*.
- next we have a button for changing the maze which will recompute the whole maze.
- reset will just discard the search results and won't touch the maze, so the user can pick someother points from the existing maze.
- first clone the repo
- peform
npm install
to install all dev dependencies. - then if you are working in src folder use
npm run start
to start the tsc watch. - if you are using VSCode then install the live-server extension to launch the
index.html
or you can install thelive-server
locally. - and you are good to go...!!
-
code for the respective version is the in the respective branches in this repo.