This is an auto battling pokemon cli game
Project description
Pokemon YEET
This is an auto battling pokemon cli game.
Install
This game is built with Python, which has installation instructions here.
The game can be downloaded with pip:
pip install --user -U "git+https://github.com/2ndBillingCycle/pokemon_yeet"
Installation error
If pip returns an error like the following:
...
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-h6qzslht/setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-h6qzslht/
pip is out of date, and needs to be updated:
pip install --user --upgrade pip
Play
With the game installed, run the pokemon command to play:
$ pokemon
Creating pokemon directory...
Importing Pokemon....
...
Game is Setup and Ready to begin
get ready, now recruiting your team of pokemon!
team selected! meet your new team
victreebel: HP: 80 TYPE: grass
mr-mime: HP: 40 TYPE: psychic
clefable: HP: 95 TYPE: fairy
now recruiting the enemy team!
team selected! meet your enemies!
doduo: HP: 35 TYPE: normal
nidorina: HP: 70 TYPE: poison
krabby: HP: 30 TYPE: water
PREPARE TO FIGHT!!!!!
victreebel attacked with scratch and it did 35 damage
doduo: HP: 0 TYPE: normal
doduo has FAINTED
doduo: HP: 0 TYPE: normal
THE SCORE IS: ME:1 ENEMY:0
mr-mime attacked with scratch and it did 35 damage
nidorina: HP: 35 TYPE: poison
nidorina attacked with scratch and it did 35 damage
mr-mime: HP: 5 TYPE: psychic
mr-mime attacked with leer and it did 20 damage
nidorina: HP: 15 TYPE: poison
nidorina attacked with cut and it did 25 damage
mr-mime: HP: -20 TYPE: psychic
mr-mime has FAINTED
mr-mime: HP: -20 TYPE: psychic
THE SCORE IS: ME:1 ENEMY:1
clefable attacked with cut and it did 25 damage
krabby: HP: 5 TYPE: water
krabby attacked with scratch and it did 35 damage
clefable: HP: 60 TYPE: fairy
clefable attacked with cut and it did 25 damage
krabby: HP: -20 TYPE: water
krabby has FAINTED
krabby: HP: -20 TYPE: water
THE SCORE IS: ME:2 ENEMY:1
WE WON HAHAHAHAHAHAHAHAHAHAHAHA
note: running pokemon will create a directory called pokemon/ to store information about Pokémon
Development
This repository can be downloaded with git (a mastermndio video about git). Once that's done, create a virtual environment in the same directory:
python -m venv venv
note: depending on how Python was installed, python may be python3, and venv may need to be downloaded separately (e.g. as python3-venv)
This creates a directory called venv in the current directory. Then, activate the virtual environment. On Linux, this looks like:
. venv/bin/activate
Make sure pip inside the virtual environment is up to date:
pip install --upgrade pip
Then, the game can be installed in the virtual environment:
pip install ./
And you're ready to go! Change some files, re-install, and run again!
The installation is managed by Flit.
API dependencies
This project uses https://pokeapi.co/ to get information about Pokémon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pokemon-yeet-2ndbillingcycle-0.0.4.tar.gz.
File metadata
- Download URL: pokemon-yeet-2ndbillingcycle-0.0.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3471806012e3ea565ac4b5e8d1114deed29a1014f716de62df3d0844815de084
|
|
| MD5 |
4ac11240f2715a23f89f7f3307ae733e
|
|
| BLAKE2b-256 |
0466c83ebc39cdf4f1ddaf282c2e2f8509a195a1ee0a469ef243bc63a782a629
|
File details
Details for the file pokemon_yeet_2ndbillingcycle-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pokemon_yeet_2ndbillingcycle-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
361b8e3ce683e863a95863d0bdb0635975f73f803a17d8cb376036793644a2ac
|
|
| MD5 |
9259bd6a5711828e0a3b40671c239797
|
|
| BLAKE2b-256 |
1650a2d45d2ba5d17da1fac46a50093f160c06750d9071b7154c158c7a7f3393
|