Python library to roll dice!
Project description
Any Dice simulator
____ ____ ____
/\' .\ _____ /\' .\ _____ /\' .\ _____
/: \___\ / . /\ /: \___\ / . /\ /: \___\ / . /\
\' / . / /____/..\ \' / . //____/..\\' / . //____/..\
\/___/ \' '\ / \/___/ \' '\ / \/___/ \' '\ /
\'__'\/ \'__'\/ \'__'\/
A Python package to roll any dice combo!
Installation
pip3 install Any-Dice-Simulator
Usage
Import the core function using:
from anyDiceSimulator import myfunctions
Roll a dice combo: Example: If you need to roll a 6 sided die 5 times, input 5d6
myfunctions.rolldice('5d6')
Todo [Not exhaustive]
- Add functionality to roll biased die
- Functionality to roll multiple types of die at once
- Try an object oriented approach with the code
- Add external random number generators
- Add dice rolling graphic
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
Built Distribution
File details
Details for the file Any-Dice-Simulator-0.0.1.tar.gz
.
File metadata
- Download URL: Any-Dice-Simulator-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a043b5954380b64918f3ac7997d8e1d6bdb4ce8906accdba495eeb769730b355
|
|
MD5 |
e423ad3a11d594ebdf481b1822e3b37a
|
|
BLAKE2b-256 |
25eeb584003cf0b0d11392a74f28c3cf0b4acd559f0d229a26854eb4d5a40bf4
|
File details
Details for the file Any_Dice_Simulator-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: Any_Dice_Simulator-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6c063b322ab853573646506713615d7691455e39b7a52de74d9e469e86356db6
|
|
MD5 |
10fb5896d3085db6bbb73aa475a12922
|
|
BLAKE2b-256 |
0574530774d7ce5b15b833a7a8dddccf7e935a86a4c770fc025af267243d56ed
|