Skip to main content

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+
  • pypokedex
  • pygame
  • rich

Installation

Install from PyPI

pip install pokemon-battle-sim

Then run the game:

pokemon-battle-sim

Install from source

  1. Clone the repo:

    git clone https://github.com/your-user/pokemon-python.git
    cd pokemon-python
    
  2. Install in development mode:

    pip install -e .
    
  3. 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.app
  • dist/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)

Table of built distributions (wheels) for pokemon-battle-sim 1.0.0
File Interpreter ABI Platform
pokemon_battle_sim-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page