Skip to content

Apply array of AI technique to implement an agent that can play Pac-Man game.

Notifications You must be signed in to change notification settings

hoangchunghien/ai-pacman-game

Repository files navigation

Playing Pac-Man game

Pac-Man game

The Pac-Man projects were developed for UC Berkeley's introductory artificial intelligence course, CS 188. They apply an array of AI techniques to playing Pac-Man. However, these projects don't focus on building AI for video games. Instead, they teach foundational AI concepts, such as informed state-space search, probabilistic inference, and reinforcement learning. These concepts underly real-world application areas such as natural language processing, computer vision, and robotics.

Install

  • This project run on Python 3.x
  • Install required packages by run the following code
pip install -r requirements.txt

How to use the code

  • Simply type the following command
python pacman.py
  • For more options
python pacman.py -h

Using Pac-Man in your AI Course

You are welcome to use the Pac-Man projects and infrastructure for any educational or personal use. We ask only that you:

  1. Please do not distribute or post solutions to any of the projects.
  2. Please retain the attribution text at the top of each Python file.
  3. Talk to us before re-releasing, repacking, or extending the projects.

Additionally, if you have any questions, feedback, or bug reports about our projects, there are two ways of getting them addressed. (1) An public instructor forum through Piazza, in which you will need to contact us to get an access code to join, and (2) a private form linked here (preferably for bug reports). For more information, see the Contact section.

Contact Information

Course Materials

The lecture slides, homework and exams were developed primarily by Dan Klein and Pieter Abbeel.

The artwork was drawn by Ketrina Yim.

The Pacman Projects

The Pac-Man projects were developed primarily by John DeNero and Dan Klein.

The autograder development was headed up by Nick Hay, Brad Miller, Dan Klein, and Pieter Abbeel.

Many others have contributed to the projects, including Nimar Arora, David Burkett, Jeremy Cowles, Jeff Donahue, Dan Gillick, Aria Haghighi, Judy Hoffman, Ed Karuna, Jonathan Long, Jeremy Maitin-Shepard, Barak Michener, Aditi Muralidharan, Adam Pauls, Arjun Singh, and Daniel Urieli.

About

Apply array of AI technique to implement an agent that can play Pac-Man game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published