GithubHelp home page GithubHelp logo

colliecoder / maze-winner Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 8.0 78 KB

A maze solving application written in javascript. The challenge is to generate a maze and solve it using a variety of basic search algorithms.

License: MIT License

HTML 11.38% JavaScript 81.72% CSS 6.90%
beginner hacktoberfest hacktoberfest2022 javascript-game machine-learning-algorithms search-algorithm

maze-winner's Introduction

Kiersten's GitHub stats

  • ๐Ÿ‘‹ Hi, Iโ€™m @colliecoder or Kiersten Campbell
  • ๐Ÿ‘€ Iโ€™m interested in Artificial Intelligence
  • ๐ŸŒฑ Iโ€™m currently learning javascript
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on fun projects


My most used languages are:

Top Langs

maze-winner's People

Contributors

a-spiral-forge avatar abhishek3223 avatar ashwin3005 avatar bettoarcaya avatar colliecoder avatar hacktoberfest-maintainer avatar justin-lengvarsky avatar kejcao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

maze-winner's Issues

Create functions for maze_solver.js

maze_solver.js needs to have the functions for solving the maze using search algorithms added, pseudocode from the functions copied down and any common sequences of code related to the algorithms programmed in the form of functions.

Check out these wikipedia pages for common algorithms used in maze solving:
Maze Solving Algorithms Wiki

Some common algorithms for solving mazes include left or right wall following, depth first search, Manhattan distance and shortest path algorithms such as A*. Essentially the goal of this issue is to set up maze_solver.js with everything it needs to have other than coding the maze solving algorithms themselves.

Every time the maze is generated it becomes more dense

There is currently a bug with the maze where every time it regenerates it keeps the squares from the old maze. In order to solve this we will need to completely delete the existing maze and the drawing of the existing maze.

Create Start/End Point in maze_generator.js

A cell must be assigned as a start point and end point for each maze created.

The start point should be represented by a green cell and the end point should be represented by a red cell.

The locations of the start and end points of the maze need to be added to the maze object.

Toggle between search algorithms

Create a way to toggle between search algorithms so that the user can select the search algorithm for generating the maze.

Likewise, implement this solution for toggling between search algorithms that solve the maze.

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.