by: Tkachenko Nikita
A 2D game in some way similar to famous Pac-Man, written in C++, with use of SFML library. The project was made in order to practise OOP style programming and Patters.
- Main menu with 3 levels of difficulty
-
- Easy: Small available area, no enemies
- Medium: Medium available area, some enemies
- Hard: Obstacles, more enemies
- Interactable enemies and food
- WASD controls,
Ctrl+Z
keybind to revert time
StateMachine
for managing gamestatesComposite
andCommand
for handling buttonsPrototype
andMemento
for handing game savesBuilder
for making of levels (including walls and such)Visitor
for interactions with enemies and food
You should have git
and a compiler for C++/17 installed
git clone https://github.com/tka4nik/Pac-Man.git
cd Pac-Man
mkdir build && cd build
cmake ..
cmake --build .
cd ../workdir
./../build/Pacman