Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pokemon-yeet-2ndbillingcycle-0.0.4.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pokemon_yeet_2ndbillingcycle-0.0.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pokemon-yeet-2ndbillingcycle-0.0.4.tar.gz.

File metadata

File hashes

Hashes for pokemon-yeet-2ndbillingcycle-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3471806012e3ea565ac4b5e8d1114deed29a1014f716de62df3d0844815de084
MD5 4ac11240f2715a23f89f7f3307ae733e
BLAKE2b-256 0466c83ebc39cdf4f1ddaf282c2e2f8509a195a1ee0a469ef243bc63a782a629

See more details on using hashes here.

File details

Details for the file pokemon_yeet_2ndbillingcycle-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pokemon_yeet_2ndbillingcycle-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 361b8e3ce683e863a95863d0bdb0635975f73f803a17d8cb376036793644a2ac
MD5 9259bd6a5711828e0a3b40671c239797
BLAKE2b-256 1650a2d45d2ba5d17da1fac46a50093f160c06750d9071b7154c158c7a7f3393

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page