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"

Related projects

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

ovos_skill_randomness-1.1.0a4.tar.gz (270.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_randomness-1.1.0a4-py3-none-any.whl (290.2 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_randomness-1.1.0a4.tar.gz.

File metadata

  • Download URL: ovos_skill_randomness-1.1.0a4.tar.gz
  • Upload date:
  • Size: 270.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_skill_randomness-1.1.0a4.tar.gz
Algorithm Hash digest
SHA256 4e7a41a7afa4effa889a717a6239947ef16352820c75178b7014e8bacce65a9a
MD5 4193e9366a411b1cd809b29747ec008d
BLAKE2b-256 d9629d9db56e56ec71224ff8a5066970f073c7bbae4cc4d61fec83868d6c193d

See more details on using hashes here.

File details

Details for the file ovos_skill_randomness-1.1.0a4-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_randomness-1.1.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 9843f7e5dbc0bd85fa8b634812cee6336227ad9a079ca8ece3abdf769f4823f3
MD5 443b86f531a115cda38957497dc27bdf
BLAKE2b-256 4b1ac933f192dcc3b10e67a865daa34781f5dba3ff5f41543057c6b1cad3d5f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page