Moved to the [edq-pacai](https://pypi.org/project/edq-pacai/) package.
# Pacman
A modified version of the Pacman educational project from the [Berkeley AI Lab](http://ai.berkeley.edu/project_overview.html).
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](https://tkdocs.com/tutorial/install.html).
**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](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
For anyone else, you can just [fork it](https://help.github.com/en/articles/fork-a-repo) 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).
Raw data
{
"_id": null,
"home_page": null,
"name": "linqs-pacai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "AI, Artificial Intelligence, Education, Teaching",
"author": null,
"author_email": "Eriq Augustine <eaugusti@ucsc.edu>, LINQS <linqs.edu@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/97/8c/0191b03cc4973c6d9c024fad208f9f740b7899b2534612ab568993e6d734/linqs_pacai-1.4.1.tar.gz",
"platform": null,
"description": "Moved to the [edq-pacai](https://pypi.org/project/edq-pacai/) package.\n\n# Pacman\n\nA modified version of the Pacman educational project from the [Berkeley AI Lab](http://ai.berkeley.edu/project_overview.html).\n\nSome improvements from the original project:\n - Upgraded to Python 3.\n - Organized into packages.\n - Brought up to a common style.\n - Added logging.\n - Added tests.\n - Fixed several bugs.\n - Generalized and reorganized several project elements.\n - Replaced the graphics systems.\n - Added the ability to generate gifs from any pacman or capture game.\n\n## FAQ\n\n**Q:** What version of Python does this project support? \n**A:** Python >= 3.8.\nThe original version of this project was written for Python 2, but it has since been updated.\n\n**Q:** What dependencies do I need for this project? \n**A:** This project has very limited dependencies.\nThe pure Python dependencies can be installed via pip and are all listed in the requirements file.\nThese can be installed via: `pip3 install --user -r requirements.txt`.\nTo use a GUI, you also need `Tk` installed.\nThe process for installing Tk differs depending on your OS, instructions can be found [here](https://tkdocs.com/tutorial/install.html).\n\n**Q:** How do I run this project? \n**A:** All the binary/executables for this project are located in the `pacai.bin` package.\nYou can invoke them from this repository's root directory (where this file is located) using a command like:\n```\npython3 -m pacai.bin.pacman\n```\n\n**Q:** What's with the `student` package? \n**A:** The `student` package is for the files that students will edit to complete assignments.\nWhen an assignment is graded, all files will be placed in the `student` package.\nThe rest will be supplied by the autograder.\nThis makes it clear to the student what files they are allowed to change.\n\n**Q:** How do I get my own copy of repo to develop on? \n**A:** Anyone who will be committing solutions should use this template repository to create a **private repository**.\nDirections for that can be found [here](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).\nFor anyone else, you can just [fork it](https://help.github.com/en/articles/fork-a-repo) as you normally would.\n\n## Pulling Changes from This Repo Into Your Fork\n\nOccasionally, you may need to pull changes/fixes from this repository.\nDoing so is super easy.\nJust go to your default branch and do a `git pull` command with this repository as an argument:\n```\ngit pull https://github.com/linqs/pacman.git\n```\n\n## Acknowledgements\n\nThis project has been built up from the work of many people.\nHere are just a few that we know about:\n - The Berkley AI Lab for starting this project. Primarily John Denero and Dan Klein.\n - Barak Michener for providing the original graphics and debugging help.\n - Ed Karuna for providing the original graphics and debugging help.\n - Jeremy Cowles for implementing an initial tournament infrastructure.\n - LiveWires for providing some code from a Pacman implementation (used / modified with permission).\n - The LINQS lab from UCSC.\n - Graduates of the CMPS 140 class who have helped pave the way for future classes (their identities are immortalized in the git history).\n",
"bugtrack_url": null,
"license": "## Pacman\n \n ### Licensing Information\n Do not distribute or publish solutions to this project. \n You are free to use and extend these projects for educational purposes provided that:\n 1. You do not distribute or publish solutions.\n 2. You retain this notice.\n 3. You provide clear attribution to UC Berkeley, including a link to http://ai.berkeley.edu.\n 3. You provide clear attribution to the LINQS lab, including a link to this repository: https://github.com/linqs.\n \n The Pacman AI projects were developed at UC Berkeley, primarily by John DeNero (denero@cs.berkeley.edu) and Dan Klein (klein@cs.berkeley.edu).\n For more info, see http://ai.berkeley.edu/project_overview.html.\n \n ### Modifications\n All of these files have since been modified (sometimes heavily) by the [LINQS Machine Learning Lab](http://www.linqs.org).\n ",
"summary": "A modified version of the Pacman educational project from the Berkley AI Lab. (Moved to edq-pacai.)",
"version": "1.4.1",
"project_urls": {
"Homepage": "https://github.com/edulinq/pacai",
"Repository": "https://github.com/edulinq/pacai"
},
"split_keywords": [
"ai",
" artificial intelligence",
" education",
" teaching"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "afd14c6574437eac38f8bb8fa62d7d99b8f0f19d809cd2b95b82366d8b817778",
"md5": "dc5bab891e84754ce33cd9b64df17007",
"sha256": "3b2d46856fd036dede55467fd12fe1e5e42b2f63bdd30d7bdb2e3ad56c5c83dd"
},
"downloads": -1,
"filename": "linqs_pacai-1.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dc5bab891e84754ce33cd9b64df17007",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3963,
"upload_time": "2025-08-18T23:03:27",
"upload_time_iso_8601": "2025-08-18T23:03:27.488475Z",
"url": "https://files.pythonhosted.org/packages/af/d1/4c6574437eac38f8bb8fa62d7d99b8f0f19d809cd2b95b82366d8b817778/linqs_pacai-1.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "978c0191b03cc4973c6d9c024fad208f9f740b7899b2534612ab568993e6d734",
"md5": "225d71aac1495c3653153987ee7987b7",
"sha256": "dcbf195afc247a8cbe6c54af418d7c316b2db25a62c2b982e8ea55c54e83125d"
},
"downloads": -1,
"filename": "linqs_pacai-1.4.1.tar.gz",
"has_sig": false,
"md5_digest": "225d71aac1495c3653153987ee7987b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5759,
"upload_time": "2025-08-18T23:03:28",
"upload_time_iso_8601": "2025-08-18T23:03:28.477611Z",
"url": "https://files.pythonhosted.org/packages/97/8c/0191b03cc4973c6d9c024fad208f9f740b7899b2534612ab568993e6d734/linqs_pacai-1.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-18 23:03:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "edulinq",
"github_project": "pacai",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Pillow",
"specs": [
[
">=",
"8.3.2"
]
]
},
{
"name": "edq-utils",
"specs": [
[
">=",
"0.0.4"
]
]
},
{
"name": "json5",
"specs": [
[
">=",
"0.9.14"
]
]
}
],
"lcname": "linqs-pacai"
}