Skip to main content

Python script to roll the dice

Project description

# rollme Python Script for Tossing the Dice

## Requirements * Python 2.7 or greater * Python Library - Inflect (pip install inflect) or use make install

## Install * make install

## Usage Locally with Makefile * make roll4 * make roll6 * make roll8 * make roll10 * make roll12 * make roll20 * make rollcustom * make rollgroup GROUP=3-4 or make rollgroup GROUP=4,6,8 * make rollcustomgroup GROUP=3-custom X=1 Y=99 or make rollcustomgroup GROUP=4,6,custom X=1 Y=99

## Usage as PIP installed Library * Use (Sample Script)[sample.py]

## Custom Dice Types * Make a copy of (Example Config)[config.example.json] * Load with the -c argument, use -z to override the default dice types

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

rollme-0.0.8.tar.gz (3.2 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