🎮

Pokemon Battle

Python202 lines· A turn-based Pokemon battle game in the console. Two Pokemon (with types, moves, attack and defense stats) fight each other; type advantages affect…
Original project by @EpicNesh26 — view source on GitHub
Ready when you are

Pokemon Battle

A turn-based Pokemon battle game in the console. Two Pokemon (with types, moves, attack and defense stats) fight each other; type advantages affect damage, health bars update each turn, and text is printed one character at a time for effect.

How to run

pip install numpy
python pokemon.py

Dependencies

  • numpy

Pyodide-runnable

Yes — numpy is available in Pyodide and the program is otherwise a console game using input() and print().

pokemon-battle.py· Python 3.x
196 lines
Console· terminal