dorkhub

Maze_solver

An interactive online maze generator and solver able to use several different algorithms.

angeluriot
JavaScript7916 forksMITupdated 2 years ago
visit the demogit clone https://github.com/angeluriot/Maze_solver.gitangeluriot/Maze_solver

🗺️ Maze solver

Release Language Size Open Source


This repository contains the source code of a web page that can generate and solve mazes using several algorithms. You can also move the start and the finish or draw your own walls.

The web page is online at the address : angeluriot.com/maze_solver.



📋 Summary


✨ Features

  • You can choose the pathfinding algorithm of the maze solver :

  • You can move the start and the finish :

  • You can also add and remove walls on the grid :

  • But the program is also able to generate a maze and you can choose the algorithm :

  • The Clear button allows you to clear the grid and the Start button runs the pathfinding algorithm

🧪 Tests

🌀 Maze generation algorithms

  • Randomized Depth-First :

   

  • Kruskal's Algorithm :

   

  • Prim's Algorithm :

   

  • Wilson's Algorithm (unbiased) :

   

  • Aldous-Broder Algorithm (unbiased) :

   

  • Recursive Division :

   


➡️ Pathfinding algorithms

  • Breadth-First (Slow but gives the shortest path) :

   

  • Bidirectional Breadth-First (A little less slow and gives the shortest path) :

   

  • Greedy Best-First (Very fast but does not always give the shortest path) :

   

  • Dijkstra (Slow but gives the shortest path) :

   

  • A* (Fast and gives the shortest path) :

   


🙏 Credits

more like this

FyWorld

FyWorld - Base-Building / Simulation Game & Tutorial in Unity

C#331

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

bit_gossip

Pathfinding library for calculating all node pairs' shortest paths in an unweighted undirected graph.

Rust50

search

search projects, people, and tags