Skip to content

kelbaum1/Pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pacman

Final Project for UMBC CMSC 471 Artificial Intelligence

Michael Kelbaugh, Matthew Landen, Celestine Wong

UC Berkeley Pac-Man Projects

All you need to run the code is a standard Python 2.7 installation.

If you get errors about not having the necessary Tkinter module (for graphics),

Basic commands to get started:

play the Pacman game manually:

cd Pacman/search python pacman.py

watch the Pacman reflex agent:

cd Pacman/multiagent python pacman.py -p ReflexAgent --frameTime 0.1 -k 1

watch the Pacman minimax agent:

cd Pacman/multiagent python pacman.py -p MinimaxAgent --frameTime 0.1 -k 1

watch Pacman train with reinforcement learning:

cd Pacman/reinforcement python pacman.py -p ApproximateQAgent -a extractor=SimpleExtractor -n 60 -l mediumClassic

watch Pacman play after reinforcement learning:

cd Pacman/reinforcement python pacman.py -p ApproximateQAgent -a extractor=SimpleExtractor -x 50 -n 60 -l mediumClassic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages