Skip to main content

A simple dice roller

Project description

RPG Dice

Build Status

A simple dice parser for RPG sessions. Turns strings like 2d6 + d20 into dice roll results.

Installation

pip install rpg-dice

Usage

from rpg_dice import roll
results = roll("2d6")
results = roll("2d6 + d20")

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

rpg-dice-0.2.1.tar.gz (2.0 kB view hashes)

Uploaded Source

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