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.