Implemented different search algorithms for a pacman to solve a maze

  • Depth First Search explores the deepest part of a branch before moving to the next one

Picture 1

  • Breadth First Search explores the entire depth before going deeper

Picture 2

  • Uniform Cost Search explores the cheapest route

Picture 3

  • A* explores a branch depending on a heuristic that weighs the different paths

Picture 4

  • Uses A* to find the shortest path that collects all of the dots

Picture 5