zzh315 / COMP90054-Pacman-Contest-Project

COMP90054 Pacman Contest Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COMP90054 Pacman Contest Project Team Alpha

demo

Overview

We implemented two pacman agents (one for defense and one for offense) in the contest of COMP90054 in University of Melbourne, 2020 S2.

We achieved the highest rank of 8/88 during the development of this project.

Strategies and Techniques

The following strategies and techniques are employed:

  • Breadth first search algorithm for defensive agent.
  • Monte Carlo tree search and Minimax strategy for offensive agent to eat food and dodge enemy ghosts.
  • A* heuristic search algorithm for offensive agent to go home.
  • Change attack point techniques.
  • Dead-end detection strategy.
  • Prioritize actions (eat food, eat capsule, dodge enemy, go home) taken dynamically.

We used a rule-based decision tree to specify which strategy and action to take in which situation.

decision tree

Video Presentation (YouTube):

demo

Wiki:

Wiki page

Acknowledgements

This is Pacman Capture the Flag Contest from the set of UC Pacman Projects. We are very grateful to UC Berkeley CS188 for developing and sharing their system with us for teaching and learning purposes as well as Nir Lipovetzky and Guang Hu who adapted this code collection.

About

COMP90054 Pacman Contest Project


Languages

Language:Python 99.8%Language:Shell 0.2%