An open API service indexing awesome lists of open source software.

https://github.com/a-poor/mazesolver

p5js maze generator and solver
https://github.com/a-poor/mazesolver

Last synced: over 1 year ago
JSON representation

p5js maze generator and solver

Awesome Lists containing this project

README

          

# MazeSolver

Uses P5.js to visualize generating a random maze and then solving it. [Link to Github Pages Site](https://a-poor.github.io/MazeSolver/)



The maze is generated using a [Recursive Backtracking algorithm](https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker) and then solved using the [A* Search Algorithm](https://en.wikipedia.org/wiki/A*_search_algorithm).

Based on Daniel Shiffman's coding challenges for The Coding Train:
* [Maze Generation](https://thecodingtrain.com/CodingChallenges/010.1-maze-dfs-p5.html)
* [A* Pathfinding](https://thecodingtrain.com/CodingChallenges/051.1-astar.html)