Skip to content

A little program that creates a maze and then creates a pleayer that solves the maze in the most efficient way possible

License

Notifications You must be signed in to change notification settings

sinbaddoraji/Maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze Generator & Solver

Overview

This program generates a solvable maze and then finds the shortest path from the entrance to the exit using the Breadth-First Search (BFS) algorithm. The maze and its solution are visualized in the console.

Algorithms

Maze Generation

The program creates a simple maze by carving a path from the entrance to the exit.

Maze Solving - Breadth-First Search (BFS)

BFS is a classic graph traversal algorithm. For our maze, it explores all potential paths to ensure the shortest one is found. BFS uses a queue to keep track of the nodes, ensuring a layer-by-layer exploration.

Screenshot

image

About

A little program that creates a maze and then creates a pleayer that solves the maze in the most efficient way possible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages