This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for ovos-skill-randomness 1.1.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ovos_skill_randomness-1.1.1a2.tar.gz | 270.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_skill_randomness-1.1.1a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 561.5 kB
Release files / ovos_skill_randomness-1.1.1a2.tar.gz
| Download URL | ovos_skill_randomness-1.1.1a2.tar.gz |
|---|---|
| Size | 270.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5e63975b853f88e0118a046eca38141a385d27ee973dce73c0637b98af40af1
|
|
BLAKE2b-256 checksum How to use checksums |
232f647992abc3bf6ed0be79c1f03a9417fe2546376f4b44e3489a7119955613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ovos_skill_randomness-1.1.1a2-py3-none-any.whl
| Download URL | ovos_skill_randomness-1.1.1a2-py3-none-any.whl |
|---|---|
| Size | 291.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31a809f9c3027c4a6c9580d0e48db5e5289f418887c3ca84326635360c6fff93
|
|
BLAKE2b-256 checksum How to use checksums |
e3ba0f9feae7347f42c8385cd4154c40235c436cdca0d3e3edd30408a15bc1a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|