Skip to content

MATLAB Maze Solver is an interactive graphical application built in MATLAB that allows you to create, solve, and visualize mazes. You can generate mazes using a Depth-First Search (DFS) algorithm, solve mazes using Breadth-First Search (BFS), and even convert maze images into matrices for solving.

Notifications You must be signed in to change notification settings

Mouad4399/-Maze-Solver-In-Matlab-Using-DFS-BFS

Repository files navigation

MATLAB Maze Solver

MazeSolverByMouad4399.mp4

MATLAB Maze Solver is an interactive graphical application built in MATLAB that allows you to create, solve, and visualize mazes. You can generate mazes using a Depth-First Search (DFS) algorithm, solve mazes using Breadth-First Search (BFS), and even convert maze images into matrices for solving.

Features

  • Maze Generation: Create mazes of various sizes using the Depth-First Search algorithm.

  • Maze Solving: Solve mazes using Breadth-First Search and visualize the solution path.

  • Image to Maze: Import maze images and convert them into matrix representations for solving.

  • GUI Interface: User-friendly graphical interface for creating, solving, and exploring mazes.

Usage

  1. Generate a Maze:

    • Launch the application.
    • Use the GUI to specify maze dimensions and click "Randomize" to create a maze.
    • Adjust the size and complexity of the maze using provided options.
  2. Solve a Maze:

    • Load a maze or generate one.
    • Click "Solve" to find the solution path.
    • Visualize the path as it is discovered.
  3. Image to Maze:

    • Import a maze image using the "Choose Image" button.
    • The application will convert the image into a binary matrix.
    • Click "Solve" to find the solution.

Getting Started

  1. Clone the repository:

    git clone https://github.com/Mouad4399/-Maze-Solver-In-Matlab-Using-DFS-BFS.git

About

MATLAB Maze Solver is an interactive graphical application built in MATLAB that allows you to create, solve, and visualize mazes. You can generate mazes using a Depth-First Search (DFS) algorithm, solve mazes using Breadth-First Search (BFS), and even convert maze images into matrices for solving.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages