Deploy pygames Deploy your pygames code to GitHub Pages with just a push Gameplay PC Mobile Setup Environment for local Create a venv python3 -m venv venv Install all Python packages pip install -r requirements.txt Run the game python3 main.py Web - runs on port localhost:8000 Note: Assuming you've the game in a separate folder python3 -m pygbag space_invaders/