Skip to content

A series of AI approaches to play the pacman game

Notifications You must be signed in to change notification settings

lordChipotle/PacmanAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PacmanAI

Multiple AI approaches to playing the Pacman game:

1. Bellman-Ford (Winning rate: 76%)

To run the game on a small grid, run "python pacman.py -q -n 25 -p MDPAgent -l smallGrid"

To run the game on a medium grid, run "python pacman.py -q -n 25 -p MDPAgent -l mediumClassic"

2. Decision Tree classifier

Run "python pacman.py --pacman ClassifierAgent" to evaluate the performance

To update the training data with your own gaming moves, run "python pacman.py --p TraceAgent"

3. Reinforcement Learning - Q-Learning model (Winning rate: 100%)

Run "python pacman.py -p QLearnAgent -x 2000 -n 2010 -l smallGrid" for evaluate the performance

About

A series of AI approaches to play the pacman game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages