An open API service indexing awesome lists of open source software.

https://github.com/ayeshaashfaq12/pacman_game

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.
https://github.com/ayeshaashfaq12/pacman_game

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        


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