Important: Please make sure to download the files from the version hosted by us. Our assignments include modifications from the original Pac-Man projects.

Programming Assignments

This quarter, we will do the Berkeley Pac-Man Projects originally created by John DeNero and Dan Klein.

Environment

The homeworks require Python 3.x to run and is NOT compatible with Python 2.x (you will see syntax errors if run with 2.x). You can install Python 3.x from the official site or set up a Conda environment.
Note: Some Linux distributions come with both python2 and python3 installed but default to python2 for the python command. In this case, you should use the python3 command in place of python to explicitly use version 3.x.

Additionally, in order to render the game, the homework projects require the Python module tkinter to be installed. You can follow the official docs to get tkinter on your platform if it is not installed already. If you are using Linux, many distributions have packaged tkinter for easy install and you should use the package manager to install it. The package name is python3-tk for Debian/Ubuntu, python3-tkinter for RHEL/Fedora and tk for Manjaro/Arch.

Late Policy

You are allowed to use 5 late days throughout the quarter. After this, assignments turned in late will incur a penalty of 20%, for each day.

You can use late days on assignments up to 3/21, after which the late penalty will be applied regardless of any remaining late days.