Skip to content

Pac Man game recreated in C++ using Qt library

Notifications You must be signed in to change notification settings

Simon125q/Pac_Man

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Pac Man game recreated in C++ using Qt library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published