CS220 · CS220 - Artificial Intelligence
AI Maze Runner — Search Algorithms
A Python-based Artificial Intelligence coursework project implementing and comparing classical search algorithms to navigate weighted mazes and solve a multi-goal key-collection problem.
AI Maze Runner is an Artificial Intelligence coursework project focused on implementing and analyzing classical search algorithms in a maze-based environment.
The project applies Depth-First Search (DFS), Breadth-First Search (BFS), Depth-Limited Search (DLS), Iterative Deepening Search (IDS), Uniform-Cost Search (UCS), Greedy Best-First Search, and A* Search to navigate mazes containing walls and terrain with different traversal costs.
The project also includes heuristic-based search using Manhattan and Euclidean distance, allowing the behaviour and efficiency of informed and uninformed search strategies to be compared.
A more advanced part of the project introduces the Griever Hole key-hunt problem, where the agent must collect all required code pieces before reaching the goal. This required designing an appropriate state representation and using A* with a custom consistent heuristic to reduce the number of expanded states.
The project emphasizes practical understanding of search strategies, path optimality, completeness, state-space representation, path costs, heuristic design, and algorithmic performance.