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.
- Host: GitHub
- URL: https://github.com/ayeshaashfaq12/pacman_game
- Owner: AyeshaAshfaq12
- Created: 2023-01-12T18:50:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-09T11:25:53.000Z (about 2 years ago)
- Last Synced: 2025-01-24T21:32:05.436Z (4 months ago)
- Language: C++
- Size: 95.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
![]()
![]()
![]()