Virtual CodeDay Project w/ Desmond Kamas (desdotdat) and Miguel V. (Kaweees)
Download the game by clicking "Clone or Download" and then "Download ZIP." Unzip the resulting file, then follow one of the sets of instructions below.
- Install Python 3.x.
- Install the most recent version of Pygame (
pip install pygame
in cmd or terminal). - Run main.py (located at the project root).
- Unzip
dist-v_._.zip
, open it, and then open thePhageGame
folder inside of it. - Run
PhageGame.exe
.
The build created by Buff & Co. might not be compatible with your machine for a variety of reasons (including that you are using a Mac). If this is the case, but you still wish to run an executable file, you can create your own as follows:
- Complete steps 1 and 2 of the "With Python" section above.
- Install the most recent version of PyInstaller (
pip install pyinstaller
in cmd or terminal). - Navigate to the project root (directory) using cmd or terminal.
- Execute the following command:
pyinstaller --clean main.spec
- Upon successful execution of that command, the desired file will be located at
./dist/PhageGame/PhageGame.exe
However, we aren't quite done yet... - At the time of writing, there is an issue with PyInstaller: it does not copy files with
types not directly associated with Python (e.g.
.py
,.pyd
, etc.) into thedist
folder. To resolve this issue, simply replace thedist/PhageGame/pygame
folder and its contents with that and those of the folder containing Pygame on your machine (on Windows, this is usuallyC:\Program Files (x86)\Python__-__\Lib\site-packages\pygame
; be careful not to delete what's there!).