skill-randomness
About
This OVOS skill handles chance-based requests. It makes a choice, rolls a die, flips a coin, and picks between two options.
Install
pip install ovos-skill-randomness
Configuration
The skill accepts one property, die_limit. This property sets the maximum number of dice you can roll at once. The default is 16.
Set it in ~/.config/mycroft/skills/skill-randomness.openvoiceos/settings.json:
{
"die_limit": 16
}
Examples
- "Flip a coin"
- "Tell me my future"
- "Help me decide something"
- "Pick a number between 1 and 100"
- "Roll a die"
- "Roll 1 d 20"
- "Roll 6 d 8"
- "Roll a 20 sided die"
- "Roll 5 dice"
- "Roll 6, 8 sided dice"
Related projects
- OpenVoiceOS/OpenVoiceOS — the OVOS voice assistant platform this skill runs on.
- OpenVoiceOS/ovos-workshop — the skill framework this skill builds on.
Credits
- Mike Gray (@mikejgray)
- BuilderJer (@builderjer)
Category
Games Fun Chance
Tags
ovos skill games fun chance
Attribution
The coin flipping sound came from TheKnave at freesound.org. It is licensed under the Creative Commons 4 License.
The fortune teller sound came from LittleRainySeasons at freesound.org. It is licensed under the Creative Commons 0 License.
The dice rolling sound came from dermotte at freesound.org. It is licensed under the Creative Commons 4 License.
License
This skill is available under the MIT License.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_skill_randomness-1.1.0.tar.gz.
File metadata
- Download URL: ovos_skill_randomness-1.1.0.tar.gz
- Upload date:
- Size: 270.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fca25ff6d8f56caaf4e5fd20f976175ef37fbf4fe5a7392ef3c82dfab105a17
|
|
| MD5 |
92416e3b55aed28b09a751db678e211c
|
|
| BLAKE2b-256 |
9ec94ef37775832a7dd720459929da60b9eea4795e2521ef7c7674ad4b0dc8d4
|
File details
Details for the file ovos_skill_randomness-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ovos_skill_randomness-1.1.0-py3-none-any.whl
- Upload date:
- Size: 290.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e05f8c28c8fe4764d226544ea567bba75a47e123b959f0f727868d8ee585fc0
|
|
| MD5 |
392d1bdc5037d506eff154ea2bc36509
|
|
| BLAKE2b-256 |
a1d3a1295986caebbef1beb1a9d1f2be5ecb4e31039724f3865e97ac7dfd2ac6
|