Welcome to the README of PacmanGame, a recreation of the nostalgic video game from the 80s.
- Implementation of Pacman, Walls, Energizers, Ghosts, Fruits & Lives
- Pacman is able to eat Inky, Pinky, Blinky and Clyde through energizers
- After a period of time, ghosts come back to normality
- There is 3 lifes available and fruits are randomly allocated
- Pacman can exist lef/right in the middle borders of the map
- To run PacmanGame you need to install SDL2 starter kit toguether with an IDE.
- Clone this repository and open
pacman.sln
. - Make sure you use
Debug x64
. Otherwhise compilation error may appear. - Run the game and enjoy!
The following diagram explains the main classes that were implemented during this project:
Here a shortly explanation how the project was composed
resources contains the sprite sheet.
src contains the C++ source + skeleton main file.
include contains C++ header files.
To the left, the .bmp
figures that made up the design of the game. To the right, a small .gif
showing a demo of the features implemented.