Skip to main content

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

Uploaded Python 3

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

Hashes for ovos_skill_randomness-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4fca25ff6d8f56caaf4e5fd20f976175ef37fbf4fe5a7392ef3c82dfab105a17
MD5 92416e3b55aed28b09a751db678e211c
BLAKE2b-256 9ec94ef37775832a7dd720459929da60b9eea4795e2521ef7c7674ad4b0dc8d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_skill_randomness-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e05f8c28c8fe4764d226544ea567bba75a47e123b959f0f727868d8ee585fc0
MD5 392d1bdc5037d506eff154ea2bc36509
BLAKE2b-256 a1d3a1295986caebbef1beb1a9d1f2be5ecb4e31039724f3865e97ac7dfd2ac6

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