A miniscule library for generating and identifying dice combos in craps
Project description
Craps Nicknames
Craps Nicknames is a tiny Python package that returns a randomized dice roll with it's associated craps nickname. The nicknames are based on the following chart by Vital Vegas:
Installation
Use the package manager pip to install craps-pkg.
pip install craps-dice-combos-names
Usage
import craps_pkg
craps_pkg.craps_roll()
# returns {
# "dice_pair": [1,2],
# "nickname": "Australian yo"
# }
craps_pkg.get_combo_name([2,2]) # returns "Ballerina"
craps_pkg.get_dice_combos()
# returns {
# 'Snake Eyes': [1, 1],
# 'Australian yo': [1, 2],
# ...
# 'Six five no jive': [6, 5],
# 'Midnight': [6, 6]
# }
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Close
Hashes for craps-dice-combos-names-0.1.127.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5739df3c059393610493a0c5a9c839c2c92df3b992066f556223c0a170ac002 |
|
MD5 | 0ee4c09073c376fef544ebf4e6c25e72 |
|
BLAKE2b-256 | e1785b842f201e27f7f70834062465dc1055969ca6791d0e60c49b5f9b86ed79 |
Close
Hashes for craps_dice_combos_names-0.1.127.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007b312ff437ab94bfde3776c1ce5e832120892f33b363ba8f920775ce507770 |
|
MD5 | 8e2624f9c2ae590f5c4c783baf274611 |
|
BLAKE2b-256 | b69d51e9f9e588f01b777a2c0733f83f2154e8b3bc9ccbb6d2aab795a1a217a7 |