This project is a recreation of the classic PAC-MAN arcade game, developed using Python and Pygame. It captures the essence of the original gameplay, featuring the iconic maze, pellets, power-ups, and ghost challenges. Players navigate through levels, collecting points and avoiding ghosts to achieve high scores.
The game adheres to the original PAC-MAN rules, incorporating features like:
- Classic scoring system: 10 points for pellets, 50 points for power pellets, and 200 points for each ghost eaten.
- Levels that advance as all pellets are collected.
- Ghosts that turn vulnerable upon consuming power pellets, allowing players to eat them for extra points.
- Game over condition when all lives are lost, with the highest score saved.
Developing this game provided an in-depth exploration of game development concepts such as:
- Collision detection for game interactions.
- Sprite animations to replicate PAC-MAN’s movement and ghost behaviors.
- Game loops for handling continuous gameplay mechanics.
- Optimized player controls to enhance the gaming experience.
The project includes detailed instructions for setup and execution. A virtual environment setup script is provided, making it easy to install dependencies and run the game using:
python3 game.py