Pokémon themed minigame where you can build multiple player's battle parties, hatch eggs, level up members, move them from PC Storage to party, and view stats, and more!
Clone this repository to your local machine using
git clone https://github.com/crockk/python-pokemanager.git
After cloning the repository, navigate to the root directory of the project and run
pip install -r requirements.txt
to install the necessary dependencies.
NOTE Please make sure that you are on the branch "assignment-4" by running
git checkout assignment-4
git pull
This has been configured as the main branch for this repository.
- Follow these steps to get the application up and running:
Run the file
pokemon_api.py
to start the API and initialize the database
Run the file
pokegui.py
to launch the GUI
Build your parties!
- If you're reading this far, I'm not really sure why, but anyways, here's the Python class structure for this program:
This class defines various base stats of the PartyMember that inherits it.
The Pokémon is a type of PartyMember, in other words, a subclass of PartyMember. It inherits all properties of a PartyMember, as well as adding many stats and attributes that are unique to Pokémon.
The Egg is the second type of PartyMember. It also inherits all properties of a PartyMember, but is relatively simple in that it only adds a few new properties (eg _steps_required).
This class manages one player's Pokemon Party and PC Storage (PC Storage is where Pokemon that are not in a party are placed).
This is a simple class which provides statistics to display about the player and their Pokémon for the class PartyManager to display.