SkillAgentSearch skills...

Pacman

A classic Pacman game built with Java and JavaFX, featuring smooth GUI, controlled ghosts, a scoring system, and immersive sound effects. Developed with OOP principles, it offers a fun and interactive gameplay experience. šŸš€

Install / Use

/learn @MaHmoudHaBlaSs/Pacman
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Pacman Game - JavaFX

šŸ“Œ Overview

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.

šŸŽ® Features

  • 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

šŸ› ļø Technologies Used

  • Java (Core logic and OOP design)
  • JavaFX (GUI and animations)
  • FXML (For structuring the UI)
  • Git & GitHub (Version control and collaboration)

šŸ“‚ Project Structure

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

šŸš€ Getting Started

Prerequisites

  • Java 11 or later
  • JavaFX SDK (if using a version without built-in JavaFX)
  • IDE like Eclipse or IntelliJ IDEA (recommended)

Installation & Running

  1. Clone the repository:
    git clone https://github.com/yourusername/pacman-game.git
    cd pacman-game
    
  2. Open the project in your IDE and ensure JavaFX is set up.
  3. Run the main class (Main.java).

šŸ“ø Gameplay

Youtube Video

šŸ¤ Contributors

⭐ Acknowledgments

  • OOP Prenciples
  • JavaFX Community for tutorials and resources
  • Classic Pacman for inspiration šŸŽ®

Made by Java_Newbies Team.

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated5mo ago
Forks6

Languages

Java

Security Score

87/100

Audited on Oct 15, 2025

No findings