Skip to main content

2D tactical game involving magic and malice.

Project description

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

  1. You must be using Python 3.7.x (Meaning: 3.7.0 <= your_python_version < 3.8.0)
  2. Install the game: python3.7 -m pip install WizardVsWorld
    • NOTE: python3.7 represents whatever Python 3.7 is aliased to on your machine it could also be py, python, etc.
  3. Run the game: WizardVsWorld

If you require a virtual environment

  1. Create a virtual environment for Python3.7: virtualenv -p="/usr/bin/python3.7" <env_name>
  2. Use the virtual environment: source <env_name>/bin/activate
  3. Install the WizardVsWorld Package from PIP: pip install WizardVsWorld
  4. Run the game: WizardVsWorld

Running from Source

  1. Download the source
  2. python3.7 -m pip3 install pygame
  3. python3.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)

  1. Check if you have Python 3.7 installed on your WSL by running python3.7 --version, if it is installed skip to step 3
  2. Run the following commands (after list) to add the deadsnakes repo (for older versions of python) and install Python 3.7
  3. 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"
  4. Click on the Gear icon next to the "Python Interpreter" line, then click "Add"
  5. Click on the WSL option on the left side
  6. Ensure the correct Linux distribution is selected if you have multiple (mine was just called Ubuntu)
  7. Set the "Python Interpreter Path" to /usr/bin/python3.7, click OK twice to close the menus
  8. Click on the Environment Dropdown to the left of the play button at the top of the editor, click "Edit Configurations"
  9. Click on the "+" button in the upper left of the pop-up, click on "Python"
  10. Name the Configuration whatever you want
  11. Set the script path to the absolute path of "game.py"
  12. Set the interpreter to "3.7 @ Ubuntu"
  13. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WizardVsWorld-1.0.3.tar.gz (12.5 MB view details)

Uploaded Source

Built Distribution

WizardVsWorld-1.0.3-py3-none-any.whl (13.2 MB view details)

Uploaded Python 3

File details

Details for the file WizardVsWorld-1.0.3.tar.gz.

File metadata

  • Download URL: WizardVsWorld-1.0.3.tar.gz
  • Upload date:
  • Size: 12.5 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for WizardVsWorld-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a55ee05fb80f53782f04a7141e9993b3719cfa2f718dce97c59e17a212423bae
MD5 c0a9065169111e3ecb5454debc068391
BLAKE2b-256 fd4d4bf448a5813ac96bdffbf44fa204f6ee45c5c85eeda076214e3f6d716c85

See more details on using hashes here.

File details

Details for the file WizardVsWorld-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: WizardVsWorld-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.2 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for WizardVsWorld-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5fc37f32ba74042c889c6f727b06c8b4d43d6af22e38e4f8ef7837301a03bb
MD5 8d2850dc1e082db794e1381d0c394821
BLAKE2b-256 adb962c1430f69acdf0eb9dcc7cf98b9e267917eae0772bab1ab57c43e940813

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page