A Pacman project based on UC Berkeley Intro to AI
It contains many kinds of agent that using AI technique.
- Python 2.7
- python-tk
Following will reveal the usage on UNIX-like platform.
If you want to run on Windows, WinPython is recommended.
First, change working directory to Pacman-Agent.
Second, type such as:
python ./pacman.py -l P1-3 -g StraightRandomGhost -p FroggerAgent
to enjoy it!!
argument: -p: agent type -l: layout -g: ghost type
To get more information about the argument, refer to spec/
- Rule-based
- DFS
- BFS
- A* search
- Alpha-Beta pruning
- minimax search
- Evaluation function