Skip to main content

Simple Dice rolling package

Project description

Dicy

A simple dice object

Features

  • Generate as many dice objects as you want
  • Each dice object by default allows random.choice
  • You can easily iterate on the dice faces

Examples



from dicy import dicy as d
dice_a = d.Dicy()

# this will be evaluated to 1, 2, 3
print(dice_a[0].face)
print(dice_a[1].face)
print(dice_a[2].face)

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

dicy-0.0.3.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

dicy-0.0.3-py2.py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 2 Python 3

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