Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.