Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Moved to the edq-pacai package.

Pacman

A modified version of the Pacman educational project from the Berkeley AI Lab.

Some improvements from the original project:

  • Upgraded to Python 3.
  • Organized into packages.
  • Brought up to a common style.
  • Added logging.
  • Added tests.
  • Fixed several bugs.
  • Generalized and reorganized several project elements.
  • Replaced the graphics systems.
  • Added the ability to generate gifs from any pacman or capture game.

FAQ

Q: What version of Python does this project support?
A: Python >= 3.8. The original version of this project was written for Python 2, but it has since been updated.

Q: What dependencies do I need for this project?
A: This project has very limited dependencies. The pure Python dependencies can be installed via pip and are all listed in the requirements file. These can be installed via: pip3 install --user -r requirements.txt. To use a GUI, you also need Tk installed. The process for installing Tk differs depending on your OS, instructions can be found here.

Q: How do I run this project?
A: All the binary/executables for this project are located in the pacai.bin package. You can invoke them from this repository's root directory (where this file is located) using a command like:

python3 -m pacai.bin.pacman

Q: What's with the student package?
A: The student package is for the files that students will edit to complete assignments. When an assignment is graded, all files will be placed in the student package. The rest will be supplied by the autograder. This makes it clear to the student what files they are allowed to change.

Q: How do I get my own copy of repo to develop on?
A: Anyone who will be committing solutions should use this template repository to create a private repository. Directions for that can be found here. For anyone else, you can just fork it as you normally would.

Pulling Changes from This Repo Into Your Fork

Occasionally, you may need to pull changes/fixes from this repository. Doing so is super easy. Just go to your default branch and do a git pull command with this repository as an argument:

git pull https://github.com/linqs/pacman.git

Acknowledgements

This project has been built up from the work of many people. Here are just a few that we know about:

  • The Berkley AI Lab for starting this project. Primarily John Denero and Dan Klein.
  • Barak Michener for providing the original graphics and debugging help.
  • Ed Karuna for providing the original graphics and debugging help.
  • Jeremy Cowles for implementing an initial tournament infrastructure.
  • LiveWires for providing some code from a Pacman implementation (used / modified with permission).
  • The LINQS lab from UCSC.
  • Graduates of the CMPS 140 class who have helped pave the way for future classes (their identities are immortalized in the git history).

Metadata

Release files for linqs-pacai 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linqs-pacai 1.4.1
File Size Uploaded
linqs_pacai-1.4.1.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linqs-pacai 1.4.1
File Interpreter ABI Platform
linqs_pacai-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / linqs_pacai-1.4.1.tar.gz

Download URL linqs_pacai-1.4.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dcbf195afc247a8cbe6c54af418d7c316b2db25a62c2b982e8ea55c54e83125d
BLAKE2b-256 checksum
How to use checksums
978c0191b03cc4973c6d9c024fad208f9f740b7899b2534612ab568993e6d734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / linqs_pacai-1.4.1-py3-none-any.whl

Download URL linqs_pacai-1.4.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b2d46856fd036dede55467fd12fe1e5e42b2f63bdd30d7bdb2e3ad56c5c83dd
BLAKE2b-256 checksum
How to use checksums
afd14c6574437eac38f8bb8fa62d7d99b8f0f19d809cd2b95b82366d8b817778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page