Skip to main content

An extra random dice roller

Project description

# Random Roller

A not very interesting die & dice rolling simulator.
This is mostly so I can play with different of randoms

## Requirements

Currently requires a TrueRNG device plugged into the machine

## Library

in randomroller there is Die (a single die),
and Dice (a group of die all with the same side)

from randomroller import Die
d = Die(100)

from randomroller import Dice
d2 = Dice(2, 20)
print('Show me each die roll instead of the total: ', d2.rolls())

## Cli

THis adds the `rr` command that takes two arguments

* dice count
* number of sides for the dice

ex: `rr 1 6` rolls 1d6

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for randomroller, version 2.2.1
Filename, size File type Python version Upload date Hashes
Filename, size randomroller-2.2.1-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size randomroller-2.2.1.tar.gz (19.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page