pyBegin / projects / pokemon-battle
🎮

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…

202 linesRunnable

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

Pyodide-runnable

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