The classic pacman game, with the enemy being Kong from donkey kong instead of Blinky, Pinky, Inky and Clyde.
The pacman is controlled by keys W, A, S, D. Once you lose/win, press R to restart the game, or Q to quit game. You will have 4 lives to win the game. There are 4 kongs, and even if you touch 1 kong, you lose a life. To win the game, you need to collect all the coins.
Clone the repository and extract the folder. To run the game, you need to have python3 installed. You can follow instructions given in this website (https://realpython.com/installing-python/) to install python3. After you install python3, you need to install numpy and pygame libraries. If you are a window user, run command line as administrator and type in these 2 commands.
- To install numpy: py -m pip install -U numpy --user
- To install pygame: py -m pip install -U pygame --user
If you are a linux/MacOS user, run these commands on terminal
- To install numpy: pip3 install numpy or sudo apt-get install python3-numpy
- To install pygame: pip3 install pygame or sudo apt-get install python3-pygame
After installing all the libraries as well as python, double click on pacman_2018053.py file to run the game.