Pac-Man in C++
The goal of this project is to Implement PACMAN in C++, to later implement an AI for PACMAN
- To build on linux, you'll need CMake
- After installing CMake (if you don't have installed), run these commands on terminal
git clone https://github.com/Kovalski-rgb/pacPlus.git
cd pacPlus
./build.sh
- To run, just execute the
PacMan
file insidebuild/
folder on your project.
- Screen Printing in CLI
- Printing Colors on the CLI version
- Printing Pellets with different font color than walls
- Printing Pacman with yellow background for contrast
- Printing Ghosts
- Player Movement
- Up, Down, Left and Right
- Instant direction change (right now sometimes it takes >~50ms to turn)
- Scroll to other side then crossing the map border
- Interacting with collectibles
- Pellets increase player score by 10
- Power Pellets increase player score by 50
- Collecting Power Pellets change ghosts states to frightened
- Score
- Score display on top of the map
- High Scores
- Store HighScores on an external file
- Display highscores bellow the actual score
- Ghosts (with AI)
- Interact with PacMan
- Blinky
- Complex AI
- Simple AI (random)
- Pinky
- Complex AI
- Simple AI (random)
- Inky
- Complex AI
- Simple AI (random)
- Clyde
- Complex AI
- Simple AI (random)
- GUI (maybe this'll be expanded later)
- Menu before game
- Title screen with logo
- Sound(maybe?)
- Show HighScore on TitleScreen
- Startup CountDown (wait 3s before pacman moves)
- PacMan AI
- Get all pellets as fast as posible
- Get the max score in x time