A classic PACMAN game developed in Java, inspired by Kenny Jim Coding's tutorial. Navigate through the maze, eat the pellets, and avoid the ghosts!
This project is a PACMAN game clone built with Java. The game involves a maze where PACMAN collects pellets and avoids ghosts. The game mechanics closely follow the classic arcade version, making it an enjoyable and nostalgic experience.
- 🕹️ Classic PACMAN Gameplay: Navigate through the maze while avoiding ghosts.
- 👻 Ghost AI: Ghosts chase PACMAN, making the game challenging.
- 🍒 Collectibles: Collect pellets to increase your score.
- 🎮 Smooth Controls: Simple keyboard controls for easy gameplay.
- 💻 Responsive Design: Runs smoothly on different screen sizes.
-
Clone the Repository:
git clone https://github.com/your-username/pacman-game.git
-
Navigate to the Project Directory:
cd pacman-game
-
Compile the Java Files:
javac src/*.java
-
Run the Game:
java src.Main
-
Controls:
- Move PACMAN using the arrow keys:
- ⬆️ Up
- ⬇️ Down
- ⬅️ Left
- ➡️ Right
- Move PACMAN using the arrow keys:
-
Objective:
- Collect all the pellets in the maze.
- Avoid the ghosts (if they catch you, the game ends).
- Java: The primary language for game development.
- Swing: For GUI and rendering graphics.
LICENSE.mp4
- Tutorial: Inspired by Kenny Jim Coding's tutorial on YouTube.
- Developer: Ali Akbar Khan
Enjoy playing PACMAN! 👾