Giter Site home page Giter Site logo

maze-maker's Introduction

Maze solver


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.



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

maze-maker's People

Contributors

abbasali1994 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.