Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.18 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.18 KB

Pacman

  • This game is Google's Pacman which I have built in pygame.
  • Dependencies: python and pygame.
  • 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

Usage

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

Preview

pacman

Virtual Environment Setup (recommended)

  1. Install the python3-venv

    sudo apt install python3-venv
  2. Create the virtual env.

    python3 -m venv myenv
  3. Activate the env.

    source myenv/bin/activate

note: to deactivate type deactivate in terminal

©️ Karan Yadav 2023 - ♾️