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

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.2.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

damage_calculator-0.2.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damage_calculator-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 05353c4571ba6fd7b3e6d1d9e3240447a37c719def974d8b80525b66f4ca0090
MD5 83cfb029f9a18049d93d4e0258081a43
BLAKE2b-256 cf6235fb82d0ca0ab567ce8658b1312d00e12b9f29589ab8fc31347396cc7abe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for damage_calculator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce63a28a1df47accae30319d68bc08b52b5e6cc5a75c02c98b9c91f89ed698a
MD5 669ecd75aed9b0b1d5a42ffe43fb5c65
BLAKE2b-256 cb70d3a80b59a76f6c19cf9b18c157354b421767e9e73c911c5d87404447e0c3

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