Skip to content
Abdallahmoh443Public

About

Pacman Game Developing in process..

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

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.

About

Pacman Game Developing in process..

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages