Skip to content

Artificial Neural Network to play Pacman game that is implemented in Python.

Notifications You must be signed in to change notification settings

lukey-luke/Pacman-Learner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman-Learner

This serves as a repository for a python program that can play pacman all by itself.

qlearning_pacman

Files are organized into the following folders...

  • 01... is the code used from a group project in my undergraduate artificial intelligence course. This, agent was provided the least amount of information about the game. Each game, the breeder assigns a neural network to dictate Pacman's actions.
  • 02... uses the class Minimax approach. This agent proved to be good at avoiding the ghosts when a depth of 3 or 4 was used.
  • 03... uses another machine learning technique, Q-Learning. This agent was provided info about the game state (pellet locations, ghost locations, and legal actions), and quickly learns which actions will provide a better score. This agent learned how to beat the classic map fairly quickly (10-20 games).

Credit

  • Huge credit to UC Berkeley for providing Intro to AI course materials online. Pacman files for the game itself were take from UC Berkeley's cs188 site.

About

Artificial Neural Network to play Pacman game that is implemented in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published