Mohamed Yassine Hemissi

Student • Dreamer • Human

HomeProjectsBlog

© 2026 Mohamed Yassine Hemissi. All rights reserved.

← Back to projects

Maze Game and Path-Finding with DFS

Early Work

A Python project using Pygame to create a maze and implement a Depth-First Search (DFS) algorithm to find a path from the start to the end of the maze. Developed for AI class assignments.

2021·By Mohamed Yassine Hemissi·Updated April 20, 2023
Academic/CommunityCreative LabEngineering

Technologies Used

PythonPygameAIDFS/BFS
View on GitHub →

This project was developed as part of our AI subject classes, where the task was to construct a maze and implement a path-finding algorithm using Depth-First Search (DFS). The main objective was to navigate from the starting point of the maze to the end point, demonstrating the ability of DFS to traverse a maze structure effectively.

The project was built using Python with Pygame to create the interactive maze environment and visualize the traversal process. This allowed us to observe the DFS algorithm in action as it explored different paths and backtracked when necessary.

Demo Images

demo_img_1 demo_img_2