Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

skill-randomness

Python Python Python Python Python

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"

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 2.0.2a8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-randomness 2.0.2a8
File Size Uploaded
ovos_skill_randomness-2.0.2a8.tar.gz 270.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-randomness 2.0.2a8
File Interpreter ABI Platform
ovos_skill_randomness-2.0.2a8-py3-none-any.whl Python 3 none any Details

Total release size: 562.5 kB

Release files / ovos_skill_randomness-2.0.2a8.tar.gz

Download URL ovos_skill_randomness-2.0.2a8.tar.gz
Size 270.6 kB
Tags Source
SHA-256 checksum
How to use checksums
89369dddf91f83b69d37a071299e8b8a62cb4fcf93ec34bd5af15fcb0e4df0a3
BLAKE2b-256 checksum
How to use checksums
8d77a1554bf6b7b7e20adeea9609417cd63378ccc9ee9afb10f867776fcb2bb2
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-2.0.2a8-py3-none-any.whl

Download URL ovos_skill_randomness-2.0.2a8-py3-none-any.whl
Size 291.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
150e53454d6ee17abd2a8c14005dbf7e3602b40f05f5a258ba23c9d7efa84e3d
BLAKE2b-256 checksum
How to use checksums
207d1a88f20ef0e7079bc17ddcc8f90dca4c09772e1403350e05fd8ac8ba1138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page