Skip to content

richard-salaschavez/Pacman-AI

Repository files navigation

Pacman-AI

Implementation of different AI's to play pacman

To run ai:

simply navigate to home directory and type in the following example command:

python pacman.py -p AlphaBetaAgent -a depth=3 -l smallClassic

The available agents can be called with the flag -p and they are: – MinimaxAgent – AlphaBetaAgent – ExpectimaxAgent

-a Allows you to specify agent specific arguments. For instance, for any agent that is a subclass of MultiAgentSearchAgent, you can specify the depth that you limit your search tree by typing -a depth=3

-l Allows you to select a map for playing Pacman, e.g., -l smallClassic. There are 9 playable maps, listed.

– minimaxClassic – trappedClassic – testClassic – smallClassic – capsuleClassic – openClassic – contestClassic – mediumClassic – originalClassic

About

Implementation of different AI's to play pacman

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages