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.
- 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
To run the game on your local machine, follow these steps:
-
Clone the repository
-
Prepare the project:
qmake -project
-
Configure the Qt project:
- Open the generated
.pro
file and add the following line:QT += gui widgets
- Open the generated
-
Build the project:
qmake make
-
Run the game:
./Pac_Man
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.