This release is a pre-release and may not be stable for production use.
Yatzy
Yatzy with Emkay, by voice – the Scandinavian rules, fifteen lines. Say roll, keep the dice you like – "keep the fives", "keep 6 6 4" – and say where it goes: "on sixes", "full house". Or roll your own dice at the table and tell Emkay what you got: "3 3 5 6 1". Emkay rolls its own dice on the screen, says how it plays them, and keeps both score sheets. Made for Emkay, works on any OpenVoiceOS.
Examples
"play yatzy" "play yatzy with real dice" "play yatzy, you start"
"roll" "keep the fives" "keep 6 6 4" "roll again"
"on sixes" "two pairs" "full house" "chance"
"what is left?" "score" "what did you get?"
"give me a hint" "show the rules" "stop playing"
"spil yatzy", "slå", "behold femmerne", "behold 6 6 4", "på seksere", "fuldt hus",
"hvad er tilbage", "spil yatzy med rigtige terninger", "vis reglerne" (Danish)
With real dice there is no keep: you roll, and tell Emkay all five dice each time – "3 3 5 6 1", then "3 3 5 5 5" – and then where it goes. You can choose real dice for every game in the settings, or say with real dice when you start.
While you play, everything you say goes to the game first – before any other skill – until you say stop or stop playing (the game is saved), or a few minutes pass in silence.
The rules
"Show the rules" puts them on the screen as a page of their own, and Emkay reads them. They are on the skill's page in the control panel too.
- Five dice, three rolls a turn. After a roll, keep the dice you like and roll the rest again – or stop. Then the turn goes on one of your 15 lines, each line once; if the dice do not fit, a line gets 0.
- Ones to sixes: the sum of those dice. 63 or more in the top six gives a bonus of 50.
- One pair, two pairs, three and four of a kind: the sum of those dice.
- Small straight 1-2-3-4-5: 15. Large straight 2-3-4-5-6: 20. Full house (three and two): the sum. Chance: all five. Yatzy (five the same): 50.
- When both sheets are full, the most points wins.
Emkay's play
Emkay weighs every sensible set of dice to keep by rolling the rest in its head many times, and puts its turn where it is worth most – minding the bonus, and not wasting good lines on poor dice. On easy it simply keeps the dice it has most of. "Give me a hint" tells you what Emkay would keep, or where it would put your dice.
"Play ..." and OCP
OpenVoiceOS lets its media player (OCP) answer every play .... So Yatzy is a common play skill
too: when OCP searches for "yatzy", the skill answers with the game (MediaType.GAME), and OCP hands
it over. When the game ends, OCP is told, so pause, next and play are the music's again.
Saved as you go
After every turn the game is saved – on the device, and with My Emkay for your other devices too. Stop playing, and play yatzy goes on where you were. Start yatzy over starts again.
Pictures
The five dice of the turn with the kept ones ringed in gold, how many rolls are left, and the score sheet with both columns, the bonus and the totals – the line just written is marked. One plain SVG, so it shows on every screen, the Mark II's too. On a standing screen – Emkay on a phone – the sheet goes under the dice. No background music.
Settings
In the control panel (Yatzy, under Everyday): the game on now or the saved one, start it on the
device, start over, stop – and Your dice (on the screen, or real dice you tell Emkay about),
Show pictures and Layout (auto, portrait, landscape).
For developers
The scoring and Emkay's play (engine.py) are plain Python with no OVOS in it:
Game(new_game(), words).handle("roll"), score("house", [2, 2, 5, 5, 5]). The game is a small dict
that is saved as JSON. The words of each language are in locale/<lang>/yatzy.json; spoken numbers
are in spoken_numbers.py. boardgame.py is what every board game of emkay-voice does the same way.
Languages
Catalan, Danish, Dutch, English, French, Galician, German, Italian, Norwegian (bokmål), Portuguese (Brazil and Portugal), Spanish, Swedish and Basque. Everything except English and Danish is machine translated and only loosely read through by a native Dane – corrections are very welcome.
Category
Entertainment
Tags
#game #dice #yatzy #emkay
License
Apache-2.0. Made by emkay-voice, maintained by Andreas Lorensen.
Metadata
Release files for ovos-skill-yatzy 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_skill_yatzy-0.1.0a2.tar.gz | 200.6 kB | With provenance | Details for ovos_skill_yatzy-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_skill_yatzy-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for ovos_skill_yatzy-0.1.0a2-py3-none-any.whl |
Total release size: 430.1 kB
Release files / ovos_skill_yatzy-0.1.0a2.tar.gz
| Download URL | ovos_skill_yatzy-0.1.0a2.tar.gz |
|---|---|
| Size | 200.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b33fd17c3406ee4c428b2256d4501bb95f55c52f1e632a2310a3bc1da8657de
|
|
BLAKE2b-256 checksum How to use checksums |
45cd2514737345f31a97cf078684c60a01d0cfc38e8c3db6a01859ca7e7ad5fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / ovos_skill_yatzy-0.1.0a2-py3-none-any.whl
| Download URL | ovos_skill_yatzy-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 229.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3462402513a5c3a3033f4cdd9c8f881c58a426657115e6f16a61a86239424f5
|
|
BLAKE2b-256 checksum How to use checksums |
d7c39a971eddfd5019260ff04c9b5ae571c31305c30004add4be76e1c7dece3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logSecurity for ovos-skill-yatzy 0.1.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ovos_skill_yatzy-0.1.0a2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.