Skip to content

BasilPun/aiMaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧩 aiMaze

aiMaze is a Python game built with Pygame, where a human player competes against an AI to solve a maze. The project explores pathfinding algorithms and game logic, combining algorithmic thinking with interactive design.

🎮 Features

Human vs AI maze-solving challenge

Two implemented algorithms:

Depth-First Search (DFS)

Breadth-First Search (BFS)

Recursive maze generation

Real-time visualization of pathfinding

Simple, intuitive controls

🚀 Future Plans

Add more algorithms:

Greedy Best-First Search

A* Search

Improve UI/UX with a more engaging interface

Create a separate “AI Race” mode where different algorithms compete

Add difficulty settings (maze size, complexity)

💡 Inspiration

This project was inspired by CS50’s algorithm visualizations and maze-solving demonstrations. I wanted to take that concept further by turning it into a small interactive game that blends visualization and play.

🧠 What I Learned

Throughout this project, I learned a lot about:

Implementing recursive maze generation in Pygame

Understanding how pathfinding algorithms explore and remember states

Designing a turn-based AI vs player mechanic

Debugging and iterating with the help of documentation, lectures, and AI tools

Thinking about how algorithms can be experienced rather than just seen

It was a fun and rewarding experience that deepened my understanding of both algorithms and game development!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages