PacMan game in C++ with SDL
This project requires SDL2 to be installed on your system.
To run the game, simply run the following command in the root directory of the project:
make run
This will compile the project and run the executable. Otherwise, you can run the following commands:
make
./bin/pacman
You can also see documentation for the project by running:
make doc
This will generate documentation in the html
directory and open it in your default browser.
This is a simple PacMan game written in C++ using SDL. The game is played by moving PacMan around the map and eating all the dots. The game ends when all the dots are eaten or PacMan is caught by a ghost.
Key | Action |
---|---|
UpArrow |
Move up |
DownArrow |
Move down |
LeftArrow |
Move left |
RightArrow |
Move right |
Escape |
Quit |