Cheese-Chase is a modern remake of the classic arcade game Pac-Man, reimagined in the world of Tom & Jerry.
Project description
CheeseChase
CheeseChase is a fun, lightweight arcade game inspired by Pac-Man, built with Python and Pygame.
Play as Jerry the Mouse, collect cheese pieces, and avoid the cats - unless you find the special cheese that turns the tables!
Project structure
Overview:
artifact
├── CheeseChase/ # main package
│ ├── __init__.py # python package marker
│ ├── __main__.py # application entry point
│ ├── model/ # Game modelling
│ ├── view/ # Sprites and rendering
│ ├── controller/ # Game control and flow
│ └── resources/
├── test/ # unittests - not all listed here
│ ├── test_game_controller.py
│ ├── test_mouse.py
│ ├── ...
├── .github/ # configuration of GitHub CI
│ └── workflows/ # configuration of GitHub Workflows
│ ├── check.yml # runs tests on multiple OS and versions of Python
│ └── deploy.yml # if check succeeds, and the current branch is one of {main, master}, triggers automatic releas on PyPi
├── MANIFEST.in # file stating what to include/exclude in releases
├── LICENSE # license file (Apache 2.0)
├── pyproject.toml # declares build dependencies
├── renovate.json # configuration of Renovate bot, for automatic dependency updates
├── requirements-dev.txt # declares development dependencies
├── requirements.txt # declares runtime dependencies
├── setup.py # configuration of the package to be released on Pypi
└── CHANGELOG.md # history of project's changes for each version
How to install the game
You can install CheeseChase either from PyPI or directly from GitHub.
From PyPI
pip install CheeseChase
If you’ve already installed CheeseChase and a new version has been released, update it with:
pip install --upgrade CheeseChase
From GitHub
Clone the repository locally:
git clone https://github.com/unibo-dtm-se-2425-CheeseChase/artifact.git
Go into artifact:
cd artifact
Install the required dependencies:
pip install -r requirements.txt
For developmental purposes use:
pip install -r requirements-dev.txt
How to launch the application:
python -m CheeseChase
This will execute the file CheeseChase/main.py
Controls
| Key / Button | Action |
|---|---|
| ⬆ Arrow Up | Move Up |
| ⬇ Arrow Down | Move Down |
| ⬅ Arrow Left | Move Left |
| ➡ Arrow Right | Move Right |
| Spacebar | Pause / Resume game |
| X (Close Button) | Exit the game |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Authors
- Francesca Folli – francesca-folli
- Gaia Bellachioma – gaia-bellachioma
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cheesechase-1.9.0.tar.gz.
File metadata
- Download URL: cheesechase-1.9.0.tar.gz
- Upload date:
- Size: 107.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c80aa879985fdb3e3f5da2b214548af1eeff1eaba26cc5774469d53ce3e28b36
|
|
| MD5 |
2076079d84ca14645445a1294d9422bf
|
|
| BLAKE2b-256 |
84283d369095970644b2886d249711119916955675260ad3a0ef0a3e9eb989e9
|
File details
Details for the file cheesechase-1.9.0-py3-none-any.whl.
File metadata
- Download URL: cheesechase-1.9.0-py3-none-any.whl
- Upload date:
- Size: 108.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
822f31b140cf35534408dacc712ebc4b0581450e33eae04dad8723ffa01f6ce8
|
|
| MD5 |
d4ade1176c60cba948afb7944d857ea6
|
|
| BLAKE2b-256 |
26d72f8bf3924e1456f534e9a947025a5f93f11862b2b89746b961f651405885
|