WizardvsWorld
Inspired by the Fire Emblem series, Wizard vs. World is a 2D tactical roguelike role-playing game where you play as a single wizard fighting an army of endless soldiers. The game is built using the PyGame 1.9.6 engine.
Link to project page: https://github.com/lukeherczeg/WizardvsWorld
Install directly from PIP
- You must be using Python 3.7.x (Meaning: 3.7.0 <= your_python_version < 3.8.0)
- Install the game:
python3.7 -m pip install WizardVsWorld- NOTE:
python3.7represents whatever Python 3.7 is aliased to on your machine it could also bepy,python, etc.
- NOTE:
- Run the game:
WizardVsWorld
If you require a virtual environment
- Create a virtual environment for Python3.7:
virtualenv -p="/usr/bin/python3.7" <env_name> - Use the virtual environment:
source <env_name>/bin/activate - Install the WizardVsWorld Package from PIP:
pip install WizardVsWorld - Run the game:
WizardVsWorld
Running from Source
- Download the source
python3.7 -m pip3 install pygamepython3.7 -m game.py
Requirements
- PyGame 1.9.6
Installation
Package Name: WizardVsWorld
Executable Command: WizardVsWorld
Initialization Command: WizardVsWorld(?)
Required Python Version: >= Python 3.7.0 && < Python 3.8.0
Miscellaneous
Contributors
- Luke Herczeg
- Jacob Hyde
- Gus Segovia
- Logan Smith
- Juan Suhr
Configuring WSL and PyCharm for PyGame (For Development)
PyGame 1.9.7 (the latest stable version) has some issues working with Python 3.8, so to run the project we need to make sure we set up PyCharm to use 'WSL: Python 3.7' as its interpreter, and use PyCharm to install PyGame 1.9.6, which is compatible with Python 3.7. These instructions assume that you are using Ubuntu 20.04 (You probably are if you installed a new Ubuntu version for this class)
- Check if you have Python 3.7 installed on your WSL by running
python3.7 --version, if it is installed skip to step 3 - Run the following commands (after list) to add the
deadsnakesrepo (for older versions of python) and install Python 3.7 - Open the project in Python and go to File > Settings and search "Interpreter" in the search box at the top and navigate to "Python Interpreter"
- Click on the Gear icon next to the "Python Interpreter" line, then click "Add"
- Click on the WSL option on the left side
- Ensure the correct Linux distribution is selected if you have multiple (mine was just called Ubuntu)
- Set the "Python Interpreter Path" to
/usr/bin/python3.7, click OK twice to close the menus - Click on the Environment Dropdown to the left of the play button at the top of the editor, click "Edit Configurations"
- Click on the "+" button in the upper left of the pop-up, click on "Python"
- Name the Configuration whatever you want
- Set the script path to the absolute path of "game.py"
- Set the interpreter to "3.7 @ Ubuntu"
- Click OK and ensure that your new Configuration is selected
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.7
Release files for WizardVsWorld 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| WizardVsWorld-1.0.3.tar.gz | 12.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| WizardVsWorld-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.7 MB
Release files / WizardVsWorld-1.0.3.tar.gz
| Download URL | WizardVsWorld-1.0.3.tar.gz |
|---|---|
| Size | 12.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a55ee05fb80f53782f04a7141e9993b3719cfa2f718dce97c59e17a212423bae
|
|
BLAKE2b-256 checksum How to use checksums |
fd4d4bf448a5813ac96bdffbf44fa204f6ee45c5c85eeda076214e3f6d716c85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
|
Release files / WizardVsWorld-1.0.3-py3-none-any.whl
| Download URL | WizardVsWorld-1.0.3-py3-none-any.whl |
|---|---|
| Size | 13.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a5fc37f32ba74042c889c6f727b06c8b4d43d6af22e38e4f8ef7837301a03bb
|
|
BLAKE2b-256 checksum How to use checksums |
adb962c1430f69acdf0eb9dcc7cf98b9e267917eae0772bab1ab57c43e940813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
|