Giter VIP home page Giter VIP logo

maze-path-finder's Introduction

Simple Path Finder for Irregular, Directed Maze

This program calculates the number of ways there are to go from the starting to the ending point on a maze that user inputs. The paths must visit the arrows exactly n times (user input), and no intersection can be visited twice.

How It Works

Step 1: User draws a maze of any shape on the predefined grid, including starting and ending points. (Starting point has to be a point with right and down arrows).

Step 2: User inputs the number of arrows the path(s) can travel through.

Step 3: The program outputs the number of possible ways there are of paths that goes from starting to ending and visiting exactly n arrows.

Features

  • Users can choose to input their own maze in the console or use a predefined maze stored in main.cpp.
  • The program automatically detects the correct starting location, without needing any user input.
  • Users can choose the terminating location, and the program detects if the input is logical (possible) before making any calculation.
  • The program pretty prints the inputted maze, with arrows indicating path directions and starting and ending locations.
  • Users can choose to enter the path length manually or have the program calculate all possibilities automatically (up to 100 units long).

Note

This program is originally created for Judy Chiang for her math research.

maze-path-finder's People

Contributors

pkgamma 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.