Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 784 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 784 Bytes

Pacman

A simple Pacman based console game written in C with ncurses library.

Build and Run Instructions

  1. Open a terminal.
  2. Install ncurses header files: sudo apt-get install ncurses-dev
  3. Clone repository: git clone https://github.com/marianodato/Pacman.git
  4. Change to project directory: cd Pacman
  5. Maximize the terminal.
  6. Change SCREEN_WIDTH and SCREEN_HEIGHT variables in Pacman.c according to your display resolution.
  7. Run makefile: make
  8. Move binary file created to normal instalation path: mv Pacman /usr/local/bin/
  9. Run the game: Pacman

How to Play

  • 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.