In the Original Red, Blue, and Yellow games, there were 15 pokemon types including Normal, Fire, Water, Grass, Electric, Ice, Fighting, Poison, Ground, Flying, Psychic, Bug, Rock, Ghost and Dragon. Each of these types has advantages, and disadvantages
The Classic Pokemon SWOT program allows you to choose your dream original pokemon team and then maps out your teams Strengths, Weaknesses, Oppurtunities, and Threats so you as a pokemon trainer can balance your team to poke-nirvana on your way to beat Gary and the Elite Four!
- Implement a “master loop” console application where the user can repeatedly enter commands/perform actions, including choosing to exit the program.
- This is done using the main() program function.
- Connect to an external/3rd party API and read data into the app.
- This is done by utilizing the Pokemon API.
- Visualize data in a graph, chart, or other visual representation of data.
- This is done using pie charts with Matplotlib.
- Utilize a virtual environment and document library dependencies in a requirements.txt file.
- This is done both via Poetry and the traditional requirements.txt file.
- Clone the Repository to your local device.
- Navigate to the project folder with terminal or gitbash and create a virtual envioronment.
- Windows
python -m venv venv
- Mac/Linux
python3 -m venv venv
- Activate your virtual environment
- Windows
venv\Scripts\activate.bat
- Mac/Linux
source venv/bin/activate
- Install the requirements.txt file using the following comand
pip install -r requirements.txt
NOTE: Some users (especially Ubuntu linux users) may have to install TKinter in order for matplot to display correctly. this can be done by running the following command below:pip install python-tkinter
(for Ubuntu Based Systems) orpip install tkinter
for other installations.
- Clone the Repository to your local device.
- Install Poetry to your device. (For more information about poetry check out https://python-poetry.org/ )
- Open the folder in terminal or gitbash and type
Poetry Shell
- Next, install the required programs from the pyproject.toml file by typing
Poetry Install
NOTE: Some users (especially Ubuntu linux users) may have to install TKinter in order for matplot to display correctly. this can be done by running the following command below:Poetry add Tkinter
- Once you have activate your virtual environment above
-
For Windows:
python program.py
-
For Mac/Linux:
python3 program.py
-
You will be prompted to enter the names of the pokemon you wish to add to your theoretical team. In the event you do not know the names of the original 151 pokemon or their spelling, you can enter "list" at anytime to get a list of their spellings.
-
Once you finish, you will be presented with three figures. The first wil display your Dream Teams elemental buildup, the second will show which elements you will absolutely dominate in combat, and the third will show you what pokemon elements to look out for!