Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.91 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.91 KB

Pac-Man Clone

A clone of the popular Pac-Man game, implemented in C++ using the Qt library. The game replicates the original Pac-Man's ghost algorithms, with each ghost featuring its distinctive behavior pattern to chase Pac-Man.

Features

  • Authentic Ghost Algorithms: Each ghost in the game uses a unique algorithm based on the original Pac-Man game, providing a challenging experience.
  • Built with Qt: Utilizes the powerful Qt framework for graphical user interface and game logic.
PacMan.mp4

Installation and Running the Game

To run the game on your local machine, follow these steps:

  1. Clone the repository

  2. Prepare the project:

    qmake -project
    
  3. Configure the Qt project:

    • Open the generated .pro file and add the following line:
      QT += gui widgets
      
  4. Build the project:

    qmake
    make
    
  5. Run the game:

    ./Pac_Man
    

Screenshots

Pac-Man Gameplay Pac-Man Gameplay Pac-Man Gameplay

What I Learned

This project was a valuable learning experience that enhanced my skills in several areas:

  • C++ Programming: Deepened my understanding of C++ and object-oriented programming principles.
  • Using Qt Framework: Learned to effectively use the Qt library for creating GUI applications and handling events.
  • Algorithm Implementation: Developed a deeper understanding of how to translate theoretical algorithms into practical, executable code.
  • Game Development: Gained practical experience in game design and real-time game logic implementation.