This project is the game PacMan ran in an interactive environment using pygame.
-
Open the terminal and navigate to the directory where you wish to clone the repository and entering
git clone https://github.com/example-user/PacMan.git
, and then cd to the cloned repocd PacMan
-
Create a virtual environment: Mac:
python3 -m venv venv
followed bysource venv/bin/activate
Windows:python -m venv venv
followed byvenv\Scripts\activate
-
Download dependencies: Mac:
pip3 install -r requirements.txt
Windows:pip install -r requirements.txt
-
Run PacMan by either pressing the run button in your IDE or entering the following into your terminal: Mac:
python3 main.py
Windows:python main.py