Spis treści

Kompilacja Gry

Instrukcja kompilacji dla systemu Windows 11

W repozytorium otwieramy cmd.exe (nie powershell jeśli używamy terminala w VS) i wpisujemy poniższe komendy

Dodanie venv i jego aktywacja

python -m venv .venv
 
.venv\Scripts\activate.bat

Pobranie pygame i pyinstaller

pip install pygame
 
pip install pyinstaller

Kompilacja do folderu dist

build.bat

Uruchamianie gry

dist\main.exe

plik main.exe uruchamiający grę znajduję się w folderze dist