A simple Pacman based console game written in C with ncurses library.
- Open a terminal.
- Install ncurses header files:
sudo apt-get install ncurses-dev
- Clone repository:
git clone https://github.com/marianodato/Pacman.git
- Change to project directory:
cd Pacman
- Maximize the terminal.
- Change SCREEN_WIDTH and SCREEN_HEIGHT variables in Pacman.c according to your display resolution.
- Run makefile:
make
- Move binary file created to normal instalation path:
mv Pacman /usr/local/bin/
- Run the game:
Pacman
- You are the yellow pacman.
- Your enemy is the white pacman.
- You move with arrow keys.
- Your goal is to eat the green fruit.
- Game finishes when you or your enemy reach 100 points.