Objective: To eat all the points while avoiding Ghosts. Once ghosts are in Vulnerable stage you can eat them too.
Prerequisites:
-
You must have a software where you can compile and run C++ programs. (Preferably Dev-C++ or CodeBlocks)
-
You must have installed OpenGL libraries installed and linked with your software. Click here to learn for Dev-C++
I've built this game using Dev-C++ by Embarcadero and installed OpenGL libraries from freeglut.
To Play Game:
-
Clone this Repository to your local machine.
git clone https://github.com/shivam1shroff/Pac-Man.git
-
Open your compiling software and open pacman.cpp file in it
-
Compile and run the code. Hoping you've installed all the libraries properly then there will be no errors. This code runs smoothly.
Controls:
To Move Up | ||||
---|---|---|---|---|
🔼 | ||||
To Move Left | 🔽 | To Move Right | ||
To Move Down |
Some Screenshots of the game: