Skip to content

Fascinated about finding paths in a complex Maze❓ Let this Maze Solver achieve the same for you.

Notifications You must be signed in to change notification settings

KeeratSachdeva/MAZE-SOLVER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# Introduction :

Fascinated about finding paths in a complex Maze ? Let this Maze Solver achieve the same for you.

# Objective :

  1. Given a Maze image as input , the task is to find and display the path through the maze.
  2. Given an obstacle as input , the task is to find a new path through the maze , avoiding the obstacle.

# Technology Stack :

The entire code has been written in Python3 . I have used the PIL(Python Imaging Library) to deal with all the image related work.
Other Modules used : numpy(for storing the pixel data) and matplotlib(for plotting and displaying the images).

# How it works ?

I have used a recursive function , which among all the possible paths returns the shortest path in the maze.

# A few Results :

1 :

Picture1

Picture2

2 :

Picture3

Here , the obstacle is such present that no path exists , where we can avoid this obstacle.

Picture4

3 :

Picture5

Picture6

About

Fascinated about finding paths in a complex Maze❓ Let this Maze Solver achieve the same for you.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages