A simple assistant to help you strategize during a Pokemon battle
This is a simple CLI app to help people who play Pokemon. I made this because I haven't played since Gen1 and I wanted a tool to help me keep track of all the new type matchups (e.g. what type is effective against or takes greater damage from some other type).
- Fork this repository on GitHub.
- Go to share.streamlit.io.
- Connect your GitHub account and select this repo.
- Set the main file path to
app.py. - Click Deploy!
Your app will be live at a public URL instantly.
- Ensure you have Docker and Docker Compose installed.
- Clone the repository:
git clone https://github.com/Lito-Frito/Pokemon-Showdown-Battle-Assistant.git cd Pokemon-Showdown-Battle-Assistant - Run with Docker Compose:
docker-compose up --build
- Open
http://localhost:8501in your browser.
pip install streamlit
streamlit run app.pyDeploy the Docker image to any cloud platform:
- Heroku:
heroku container:push web && heroku container:release web - AWS/GCP/Azure: Use their container services.
- Railway/DigitalOcean: Push the image directly.
For the original command-line tool:
python3 main.pyIf you want to get back into Pokemon, or if you can never keep track of what beats what, this tool is for you. The "battle assistant" will ask you for two types. It will then return all the types that are strong/weak against the given types.
E.g. if you input "grass" and "ice" (shout out to Abomasnow; Snow is in the way), this is a snippet of what the output will look like:
*Grass is: Strong against: 2x => ['water', 'ground', 'rock']
Weak against: 0.5x => ['fire', 'grass', 'poison', 'flying', 'bug', 'dragon', 'steel']
*Ice is: Strong against: 2x => ['grass', 'ground', 'flying', 'dragon']
Weak against: 0.5x => ['fire', 'water', 'ice', 'steel']
This snippet is just the offensive analysis; it will also tell you the defensive analysis.
main.py: The script that houses and calls all the other important scriptstype_input.py: Respoonsible for determiming valid input and collecting potentially two types from the useroffense_calculator.py&defense_calculator.py: Takes the inputs fromtype_input.pyand runs an offensive and defensive analyses (see above for example)
- Python3
- a CLI (if you're on Windows, this is the Command Prompt; for Linux and Mac, this is your terminal)
You can go to repl.it where I'm hosting the app in a personal repl.
