Welcome to the Pacman Game repository! This is a classic Pacman game implemented in Python using the Pygame library. Relive the nostalgia of chasing ghosts and gobbling pellets with this fun and interactive game.
Pacman is a renowned arcade game that was first released in 1980. The objective of the game is for Pacman to eat all the pellets in a maze while avoiding being caught by ghosts. This project brings the Pacman experience to your computer screen using Python and the Pygame library.
- Classic Pacman gameplay.
- Colorful and visually appealing graphics.
- Different types of pellets, power-ups, and ghosts.
- Score tracking system.
- Sound effects for a more immersive experience.
- High score recording.
- Clone this repository to your local machine using:
git clone https://github.com/AdrijeGuha/CodeAlpha_PACMAN-GAME.git
- Navigate to the project directory:
cd pacman-game
- Install the required dependencies using:
pip install pygame
- Run the game script:
python pacman.py
-
Use the arrow keys to navigate Pacman through the maze.
-
Eat all the pellets to clear each level.
-
Avoid ghosts. If Pacman collides with a ghost:
- If Pacman has not consumed a power pellet, he loses a life.
- If Pacman has consumed a power pellet, he can eat the ghosts for a limited time.
-
Consume power pellets to turn the ghosts blue and gain the ability to eat them.
-
Complete the level and aim for a high score!
- Arrow Up: Move Pacman upward.
- Arrow Down: Move Pacman downward.
- Arrow Left: Move Pacman to the left.
- Arrow Right: Move Pacman to the right.
- Python 3.x
- Pygame library
Contributions are welcome! If you find any issues or would like to enhance the game, feel free to submit a pull request.
This project is licensed under the The Unlicense.
Enjoy the game, and have fun gobbling those pellets and evading those ghosts! If you have any questions or feedback, feel free to create an issue in the repository.