This is a Pacman game built using Java and JavaFX, applying object-oriented programming (OOP) principles, light data structures, and GUI development. The game follows the classic Pacman mechanics, where the player controls Pacman to collect pellets while avoiding ghosts.
- Smooth GUI with JavaFX
- Classic Pacman gameplay mechanics
- Controlled ghosts with different behavior patterns
- Scoring system to track player progress
- Main menu & settings for customization
- Background music and sound effects
- Java (Core logic and OOP design)
- JavaFX (GUI and animations)
- FXML (For structuring the UI)
- Git & GitHub (Version control and collaboration)
Pacman-Game/
โโโ Resources/ // Game assets and resources
โโโ Character.java // Base class for all characters
โโโ Direction.java // Manages movement directions
โโโ GamePane.java // Handles game rendering
โโโ GameSounds.java // Sound effects and background music
โโโ Ghost.java // Controlled ghost behavior
โโโ Main.java // Main entry point of the game
โโโ Maze.java // Game maze logic
โโโ MazeView.java // Maze rendering
โโโ PacMan.java // Player-controlled Pacman logic
โโโ Project Diagram.pdf // Game design and flowchart
- Java 11 or later
- JavaFX SDK (if using a version without built-in JavaFX)
- IDE like Eclipse or IntelliJ IDEA (recommended)
- Clone the repository:
git clone https://github.com/yourusername/pacman-game.git cd pacman-game - Open the project in your IDE and ensure JavaFX is set up.
- Run the main class (
Main.java).
- Mahmoud Gamal
- Abdullah Muhammed
- Mahmoud El-Baz
- Mahmoud Hamdy
- Abdullrahamn El-Hussainy
- Mazen Muhammed
- Ibrahim Ayman
- Osman El-Kinani
- OOP Prenciples
- JavaFX Community for tutorials and resources
- Classic Pacman for inspiration ๐ฎ
Made by Java_Newbies Team.