Skip to content

Welcome to the Pac-Man game project! This is a classic Pac-Man game implemented in C#. The project is designed to demonstrate the application of Object-Oriented Programming (OOP) principles and software engineering concepts.

Notifications You must be signed in to change notification settings

Mohab-Sobhy/Pacman-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pac-Man Game

Welcome to the Pac-Man game project! This is a classic Pac-Man game implemented in C#. The project is designed to demonstrate the application of Object-Oriented Programming (OOP) principles and software engineering concepts.

Features

  • Object-Oriented Design: The game is structured using OOP concepts such as classes, inheritance, polymorphism, and encapsulation.
  • Character Movement: Smooth and responsive controls for Pac-Man.
  • Ghost AI: Intelligent ghost behavior that adds challenge to the game.
  • Collision Detection: Accurate detection of collisions between Pac-Man, ghosts, and walls.
  • Game Mechanics: Classic gameplay elements including power pellets and ghost vulnerability.

Design

Class Diagram:

Class Diagram

Getting Started

Prerequisites

  • .NET SDK version 8.0 or later

Installation

  1. Clone the repository:

    git clone https://github.com/Mohab-Sobhy/Pacman-Game.git
  2. Navigate to the project directory:

    cd /yourPath/Pacman-Game
  3. Build the project:

    dotnet build
  4. Run the project:

    dotnet run

How to Play

  • Use the arrow keys (WASD) to move Pac-Man.
  • Avoid the ghosts and eat all the pellets to win.

Screenshots

Game Screenshot 1 Game Screenshot 2

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

Acknowledgments

  • Inspired by the classic Pac-Man game.

About

Welcome to the Pac-Man game project! This is a classic Pac-Man game implemented in C#. The project is designed to demonstrate the application of Object-Oriented Programming (OOP) principles and software engineering concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages