Skip to main content

Python library that simulates dice rolling and Dungeons & Dragons (D&D) calculations with ASCII images

Project description

ascii_dice

ascii_dice is a Python library that simulates dice rolling and Dungeons & Dragons (D&D) calculations, with support for visual ASCII representations of dice faces. The library allows for the creation and manipulation of different types of dice (e.g., D20, D6), modifiers, as well as handling advantage and disadvantage.

Key Features:

  • Ability to utilize all standard dice types (D4, D6, D8, D10, D12, D16, D20)
  • Ability to simulate advantage/disadvantage when rolling
  • Ability to add modifiers to rolls
  • Ability to include or exclude ASCII art representations of dice faces

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

ascii_dice-1.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ascii_dice-1.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file ascii_dice-1.1.0.tar.gz.

File metadata

  • Download URL: ascii_dice-1.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for ascii_dice-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e9485a672a9839086a4a1356aa5cbc388f60ce4e17be78f4502ee6f5bbc1bb67
MD5 6b7b456eb3137cb175955113e8774fc4
BLAKE2b-256 e4f89bbc36efd3be83bddec5ccec128a75c777414deae7c9882399cc90583827

See more details on using hashes here.

File details

Details for the file ascii_dice-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ascii_dice-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for ascii_dice-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34bdd29f5de3fa984e7bdfde4671bc3c50ad81cf7fcd11e0e5f1b7f964e1063e
MD5 962eadb0c3846486160f25e769df27a6
BLAKE2b-256 ca22837ba6cb4f8b877452ba397eff2416a586528eec777f68ded484bb73b996

See more details on using hashes here.

Supported by

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