Skip to content

Latest commit

 

History

History

introduction-to-pygame-zero

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

🎓 🐍 Introduction to Pygame Zero

🔗 tutorial

📑 Running the Code

Step 1: Managing the Virtual Environment

The packaging tool is pipenv and should be installed globally:

pip install --user pipenv

Create/open and close the virtual environment:

pipenv shell
exit

Step 2: Intstall and Run PyGame

pipenv install pgzero
pgzrun introduction/intro.py

Step 3: Install and Run Mu Editor

pipenv install mu-editor --dev
mu-editor

Step 4: Finalizing the Project Dependencies

pipenv lock

Install dependencies in production:

pipenv install --ignore-pipfile

Other developers collaborating on the code:

pipenv install --dev