Skip to main content
Pre-release

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.

Yatzy on a lying screen Yatzy on a standing screen

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.0a1

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-yatzy 0.1.0a1
File Size Uploaded Provenance Actions
ovos_skill_yatzy-0.1.0a1.tar.gz 200.4 kB With provenance Details for ovos_skill_yatzy-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-yatzy 0.1.0a1
File Interpreter ABI Platform Actions
ovos_skill_yatzy-0.1.0a1-py3-none-any.whl Python 3 none any Details for ovos_skill_yatzy-0.1.0a1-py3-none-any.whl

Total release size: 429.2 kB

Release files / ovos_skill_yatzy-0.1.0a1.tar.gz

Download URL ovos_skill_yatzy-0.1.0a1.tar.gz
Size 200.4 kB
Tags Source
SHA-256 checksum
How to use checksums
772a513c818dfa3220c829bae49778b277250c2dea285f9bdd7e7935ea437faf
BLAKE2b-256 checksum
How to use checksums
d20975d469b8455549894610b3e413565057f000349f35d8a635d370ae705ab3
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 log

Release files / ovos_skill_yatzy-0.1.0a1-py3-none-any.whl

Download URL ovos_skill_yatzy-0.1.0a1-py3-none-any.whl
Size 228.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dc2f44e6dc01c569c4b2ade6f29bdcd2f4c32d6ba15796e358497867fd945bb
BLAKE2b-256 checksum
How to use checksums
b63d03633707744d64769971477f7aea2d7cf9369c0c24b1d40f835b8aacba85
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 log

Security for ovos-skill-yatzy 0.1.0a1

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.

Select from 2 files

Attestation for ovos_skill_yatzy-0.1.0a1.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 log

A 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.

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