Skip to content

PacMan is a 2D console based game in C++. We'll focus on the Maze, the Ghosts, the food (dots) and of course, the hero himself i.e PacMan.

Notifications You must be signed in to change notification settings

AyeshaAshfaq12/PacMan_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pac-Man Game

2D Console Based Game

Pac-Man is an action maze chase video game, the player controls the eponymous character through an enclosed maze. The objective of the game is to eat all of the dots (Food Pellets) placed in the maze while avoiding four ghosts that pursue Pac-Man. I have designed it as a 2D Console based C++ game.


How to play


Following are rules to play the game:
  • The player controls Pac-Man, who must eat all the dots inside an enclosed maze while avoiding four colored ghosts.
  • Eating dots called (Food Pellets) causes Pac-Man to earn bonus points.
  • Pac-Man can only move inside the maze, cannot go outside the walls of maze.
  • Pac-Man has to avoid ghosts.
  • Colliding with the ghosts result in -1 from lives.
  • There are total three lives of Pac-Man.
  • If Pac-Man collides with the ghosts more than three times, then the game will be over.
  • If scores become above 500, game stops and player wins.

C++ Libraries used


Libraries of C++ used in development of game:
  • iostream
  • fstream
  • conio.h
  • windows.h
  • ctime
  • time.h

Technology Stack


Follwing technologies have been used in development of game:
  • C++

Graphical User Interface




About

PacMan is a 2D console based game in C++. We'll focus on the Maze, the Ghosts, the food (dots) and of course, the hero himself i.e PacMan.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages