Git Product home page Git Product logo

rajatkumarsingh527 / terminal-maze-solver Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 45 KB

Terminal-based-Maze-Solver is a command-line tool for navigating mazes.๐Ÿ•ต๏ธโ€โ™‚๏ธ๐Ÿ”Enter your maze dimensions and obstacles, then watch as it finds the shortest path from start to finish. With intuitive commands and quick results, it's perfect for puzzle enthusiasts and programmers alike!๐ŸŽฎ๐Ÿ–ฅ๏ธ#MazeSolvingMadeSimple

Home Page: https://drive.google.com/file/d/1KSVQx-zKfz5WKQ54p18J_GotfRyAgLWx/view?usp=sharing

Python 100.00%
2darrays bfs-algorithm python3 random termcolor

terminal-maze-solver's Introduction

Terminal-Based Maze Solver

This Terminal-Based Maze Solver is a command-line tool designed to find the solution to a maze inputted through text files. It offers a simple yet effective way to visualize and solve mazes without the need for a graphical interface.

Features

  • Command-Line Interface: Easy-to-use interface accessible from the terminal.
  • Support for Custom Mazes: Ability to load custom maze files in text format.
  • Multiple Algorithms: Supports various maze-solving algorithms for finding the solution.
  • Visual Representation: Renders the maze and solution path in the terminal for visualization.

Usage

To use the Terminal-Based Maze Solver, follow these steps:

  1. Clone the Repository: Clone this repository to your local machine.

        git clone https://github.com/RAJATKUMARSINGH527/Terminal-Maze-Solver.git
    
  2. Navigate to the Directory: Move to the directory where the repository was cloned.

        cd Terminal-Maze-Solver
    
  3. Install Dependencies (if any): If there are any dependencies required, make sure to install them. This might vary based on the specific implementation.

  4. Run the Solver: Execute the solver script and provide the maze file as input.

        python FirstProjectMazeSolver.py
    
  5. Follow Instructions: Follow the instructions provided by the solver in the terminal to choose the algorithm and visualize the solution.

Supported Algorithms

The following algorithms are currently supported by the Maze Solver:

  • Backtracking
  • Breadth-First Search (BFS)

Input Maze Format

Mazes should be provided in text files with the following format:

  • 'โ–“': Denotes walls or barriers.
  • 'S': Denotes the start point.
  • 'E': Denotes the end point.
  • 'โ—Œ' (space): Denotes the traversable path.

Example:

output

Contributions

Contributions to this project are welcome! If you have any suggestions, bug reports, or feature requests, feel free to open an issue or create a pull request.


Enjoy solving mazes with the Terminal-Based Maze Solver! If you encounter any issues or have any questions, don't hesitate to reach out.

terminal-maze-solver's People

Contributors

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