Pokemon Battle Sim Python
A simple terminal-based Pokémon battle simulator built with Python.
https://github.com/user-attachments/assets/9cf1306f-e42e-413a-ada2-b77509518ead
Overview
This application lets you battle a randomly selected Pokémon opponent in your own terminal. It includes:
- Real Pokémon Moves and Stats
- Randomized Teams of Pokémon
- Turn-based Attack System
- Randomized Battle Music
- Works Offline
Requirements
- Python 3.13+
pypokedexpygamerich
Installation
Install from PyPI
pip install pokemon-battle-sim
Then run the game:
pokemon-battle-sim
Install from source
-
Clone the repo:
git clone https://github.com/your-user/pokemon-python.git cd pokemon-python
-
Install in development mode:
pip install -e .
-
Run the game:
pokemon-battle-sim
Running the game
If installed via pip:
pokemon-battle-sim
Or from the source directory:
python3 -m pokemon
Then enter 1 at the title screen to start.
Create a macOS app bundle
Build the macOS .app bundle and DMG from the project root:
chmod +x build_dmg.sh
./build_dmg.sh
The script creates:
dist/PokemonBattleSim.appdist/PokemonBattleSim.dmg
TODO
- Add a Pokémon switching system
- Add more status effects
Disclaimer
All music and sound effects are owned by Pokémon.
Metadata
Release files for pokemon-battle-sim 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pokemon_battle_sim-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pokemon_battle_sim-1.0.0-py3-none-any.whl |
Release files / pokemon_battle_sim-1.0.0-py3-none-any.whl
| Download URL | pokemon_battle_sim-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
918b77d45fd0fb4e293d959aab60259f46a4c6277b4912e9e20ff5e9cddb5953
|
|
BLAKE2b-256 checksum How to use checksums |
92bdf2e4592ff237b7d3a9de4cca655b534019f160239efd96f576dbef423fa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.4
|
Security for pokemon-battle-sim 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.