- This game is
Google's Pacman
which I have built inpygame
. - Dependencies:
python
andpygame
. - All the assets are provided
./assets
directory. - I have provided the pacman world in the
./assets/data/pacman_world.json
, or you can create your own
make sure you have installed the python
and the pygame
library.
-
clone this repo
git clone https://github.com/karanBRAVO/Pacman.git
-
change the directory
cd Pacman
-
run the script
python main.py
the script will ask you to load the layout or to create a new layout enter yes or no then game will be launched if you enter no
caution:
sounds will be played automatically
-
Install the
python3-venv
sudo apt install python3-venv
-
Create the virtual env.
python3 -m venv myenv
-
Activate the env.
source myenv/bin/activate
note: to deactivate type deactivate
in terminal