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
Release history Release notifications | RSS feed
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)