/i-choose-you

Pick a random Pokémon in the terminal

Primary LanguagePythonMIT LicenseMIT

I choose you!

This is a toy script that I wrote for a one-day hackathon at Boot.dev. (I'm in the "senior" category.) The assignment was to write something in Python, and to make use of PokéAPI.

I had very little free time on the day in question, so I did something as simple as possible. This script will pull data for a random Pokémon from PokéAPI; display its image on the command line (using the CLImage library); and list its stats and abilities. That's it!

You should probably be using a modern terminal emulator in order for this to work properly, as I've enabled the Unicode and true color options in CLImage. (Without those settings, the image quality is just awful.)

Usage

This assumes that you're running Linux or macOS.

Clone the repo:

git clone https://github.com/theodore-s-beers/i-choose-you.git

Navigate to the source directory:

cd i-choose-you

Create a virtual environment:

python3 -m venv venv

Activate the virtual environment:

source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Run the script (it picks a random Pokémon each time):

python choose.py