Skip to content

karanBRAVO/Pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 - ♾️

About

pacman and python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages