Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubhamkarampure/pacman_game
Retro Pacman developed using python pygame library
https://github.com/shubhamkarampure/pacman_game
pacman-game pygame python retro
Last synced: about 2 months ago
JSON representation
Retro Pacman developed using python pygame library
- Host: GitHub
- URL: https://github.com/shubhamkarampure/pacman_game
- Owner: ShubhamKarampure
- Created: 2024-01-28T21:22:07.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-05-04T11:15:14.000Z (9 months ago)
- Last Synced: 2024-05-04T12:26:40.314Z (9 months ago)
- Topics: pacman-game, pygame, python, retro
- Language: Python
- Homepage:
- Size: 717 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pacman Game
https://github.com/ShubhamKarampure/pacman_game/assets/113121940/b872d0ab-b7d8-4ef4-8bac-73f0163a4ddb
Welcome to the Pacman game, a classic arcade experience. I had made this game to understand in depth about python OOPS and data structure.
## Getting Started
To play the game, you'll need to have Python installed on your system. Additionally, the game relies on two external libraries, Pygame and Numpy. Follow the steps below to set up your environment:
### Prerequisites
Make sure you have Python installed. You can download it from [python.org](https://www.python.org/downloads/).
### Installing Dependencies
To run the game, install the required libraries using the following commands in your terminal or command prompt:
```bash
pip install pygame
pip install numpy
```These commands will install Pygame and Numpy, which are necessary for the game's graphics and array manipulation.
## Running the Game
Once you have Python, Pygame, and Numpy installed, you can run the game using the following command:
```bash
python main.py
```Enjoy navigating Pacman through mazes, avoiding ghosts, and collecting those delicious pellets!
## Web demo
To play the web demo of Pac-Man, visit [Retro-Pacman](https://shubhamkarampure.itch.io/retro-pacman).
Note it is converted using pygbag library hence it can be upto 5x slower on web.
## Author
- Shubham Karampure
Thank you for playing! If you encounter any issues or have feedback, feel free to reach out.