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.1a1.tar.gz (269.8 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.1a1-py3-none-any.whl (290.2 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_randomness-1.1.1a1.tar.gz.

File metadata

  • Download URL: ovos_skill_randomness-1.1.1a1.tar.gz
  • Upload date:
  • Size: 269.8 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.1a1.tar.gz
Algorithm Hash digest
SHA256 87e31fbc4f43250e5281021e4fbda2810165abf95ba87a047780a85fe91ca373
MD5 748bcc730b74afc330e5757f6e49a8ab
BLAKE2b-256 6f28b0be02797c504e9f4ab77845f7db82f24d141cc3df1d7b2ae4fa4e175e55

See more details on using hashes here.

File details

Details for the file ovos_skill_randomness-1.1.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_randomness-1.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6e40f3da71da3150b019eae47feda26251de884ac7aadff0b5fc14c3ca4ecb6
MD5 c9f80b87542d9e4851da5d5e59e3130a
BLAKE2b-256 d26446b9431890a5f390fe56ae78e20952a7ce26f5f738dd34795f71a49df5a7

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