Skip to main content

A simple Pokemon damage calculator

Project description

Pokemon Damage Calculator

This is a simple Python package for calculating damage in Pokemon battles based on user input.

for example

move_power = 100 # Power of the move attacker_attack = 150 # Attack stat of the attacking Pokémon defender_defense = 100 # Defense stat of the defending Pokémon stab = 1.5 # Same Type Attack Bonus (STAB) type_effectiveness = 2.0 # Type effectiveness (e.g., super effective)

result=x

Pokémon Damage Calculator

A simple Pokémon damage calculator.

Installation

You can install the package using pip. First, ensure you have downloaded the package file (e.g., pokemon_damage_calculator-0.2.0.tar.gz).

Using pip

If you have the package file:

pip install pokemon_damage_calculator-0.3.0.tar.gz

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

damage_calculator-0.3.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

damage_calculator-0.3.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file damage_calculator-0.3.0.tar.gz.

File metadata

  • Download URL: damage_calculator-0.3.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for damage_calculator-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9f5b3a743b911f0382ce4d5ffe608c0ace1394eb40f5e6d683401ff5a0aaef18
MD5 8ce45aff94413875b29e57f39bc1decf
BLAKE2b-256 8ae0f5fcf429a8430a1306e46d699f4da2b63bdd470dfd9b1ee97820ba487a2c

See more details on using hashes here.

File details

Details for the file damage_calculator-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for damage_calculator-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 705624bf9958bfde4152c41881f91d817a97dfadebbd5fa6b379311bf1811f2f
MD5 d4fdae201233443033fa46c8f5ddb65f
BLAKE2b-256 a43e9f873cd7638e09b105e87720fc932f6ff5b5ea2208ffadb2656ead380e0d

See more details on using hashes here.

Supported by

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