Skip to content

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

License

Notifications You must be signed in to change notification settings

marianodato/Pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published