This project implements an enhanced version of the classic Pac-Man game in Java. It includes dynamic graphics, interactive gameplay, and features like scoring, maze navigation, and ghost interactions.
- Interactive Gameplay: Control Pac-Man with arrow keys.
- Maze Navigation: Navigate through a maze, collect dots, and avoid ghosts.
- Scoring System: Earn points for collecting dots.
- Dynamic Graphics: Colorful maze and animated characters.
- Game Over Conditions: Game ends when caught by ghosts or all dots are collected.
-
Clone the repository:
git clone https://github.com/vvsndattasailingam/Pacman-Game.git cd pac-man-game
-
Compile the Java files:
javac PacManGame.java GamePanel.java Maze.java
-
Run the game:
java PacManGame
- Add power-ups for Pac-Man.
- Implement ghost AI with different behavior levels.
- Introduce multiple levels with increasing difficulty.
This project is licensed under the MIT License.