https://github.com/aliiakbarkhan/pacman-java-game
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!
https://github.com/aliiakbarkhan/pacman-java-game
Last synced: 6 months ago
JSON representation
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!
- Host: GitHub
- URL: https://github.com/aliiakbarkhan/pacman-java-game
- Owner: aliiakbarkhan
- Created: 2024-12-15T09:44:50.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-14T11:15:57.000Z (7 months ago)
- Last Synced: 2025-03-14T12:24:38.091Z (7 months ago)
- Language: Java
- Homepage:
- Size: 8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PacMan
![]()
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!
---
## Table of Contents
- [Description](#description)
- [Features](#features)
- [Screenshots](#screenshots)
- [Installation](#installation)
- [How to Play](#how-to-play)
- [Technologies Used](#technologies-used)
- [Credits](#credits)---
## Description
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.---
## Features
- 🕹️ **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.---
## Screenshots
---
## Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/your-username/pacman-game.git
```2. **Navigate to the Project Directory**:
```bash
cd pacman-game
```3. **Compile the Java Files**:
```bash
javac src/*.java
```4. **Run the Game**:
```bash
java src.Main
```---
## How to Play
- **Controls**:
- Move PACMAN using the **arrow keys**:
- ⬆️ **Up**
- ⬇️ **Down**
- ⬅️ **Left**
- ➡️ **Right**- **Objective**:
- Collect all the pellets in the maze.
- Avoid the ghosts (if they catch you, the game ends).---
## Technologies Used
- **Java**: The primary language for game development.
- **Swing**: For GUI and rendering graphics.---
## Credits
https://github.com/user-attachments/assets/af7a9530-cbef-4cb4-8f47-7d2a0691824d
- **Tutorial**: Inspired by Kenny Jim Coding's tutorial on YouTube.
- **Developer**: [Ali Akbar Khan](https://github.com/aliiakbarkhan)---
Enjoy playing PACMAN! 👾