This release is a pre-release and may not be stable for production use.
Backgammon
Backgammon against Emkay, by voice. The points are numbered 1 to 24 from your side, for both players, so a move is just "13 to 7" – "bar to 22", "6 off". Say roll, or the two numbers you rolled on real dice. Emkay rolls its own dice on the screen and says its moves in the same numbers – "I roll 6 and 4: 1 to 7 and 12 to 16" – so you can play on the screen, or on your own board and move Emkay's checkers as it says. Easy, normal or hard. Made for Emkay, works on any OpenVoiceOS.
Examples
"play backgammon" "play backgammon with real dice" "play backgammon, you start"
"roll" "6 and 4" "double three"
"13 to 7" "13 to 7 and 8 to 7" "24 to 13" "bar to 22" "6 off"
"13" (where can it go?) "undo"
"how many pips?" "give me a hint" "what was your move?"
"show the rules" "help" "stop playing"
"spil backgammon", "slå", "13 til 7", "baren til 22", "6 ud", "hvor mange øjne",
"fortryd", "spil backgammon med rigtige terninger", "vis reglerne" (Danish)
Moves can be said one at a time or several together. One checker can use both dice – "24 to 13" with a 6 and a 5 – as long as the point in between is open. Undo takes back your moves of this turn, so a wrong word costs nothing.
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.
- Your fifteen white checkers go from 24 down to 1 and off; Emkay's red go the other way.
- Roll two dice and move a checker the number on each die – or one checker both. A double plays four times. Use both dice if you can (only the larger, if just one can be played).
- A point with two or more of the other's checkers is closed. A lone checker can be hit: it goes on the bar and must come in again before anything else moves.
- When all your checkers are home, points 1 to 6, bear them off. The first with all fifteen off wins – a gammon if the other has none off. (There is no doubling cube.)
Emkay's play
Emkay plays every legal way of using its roll and picks the one that leaves it best placed: ahead in the race, with points made at home and in a row, few lone checkers within reach of yours, and your checkers on the bar. On easy it picks among its better plays at random; on hard it weighs the risk to its lone checkers and its blocking points more. "Give me a hint" tells you what it would play with your dice.
"Play ..." and OCP
OpenVoiceOS lets its media player (OCP) answer every play .... So Backgammon is a common play
skill too: when OCP searches for "backgammon", 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 backgammon goes on where you were. Start backgammon over starts again.
Pictures
The board from your side: the 24 long triangles numbered 1 to 24 (1 at the bottom right, next to the tray), white and red checkers, the bar in the middle, the checkers borne off, the dice, and how many pips each side has left. Emkay's last checkers moved are ringed in gold. One plain SVG, so it shows on every screen, the Mark II's too. On a standing screen – Emkay on a phone – the dice and the count go under the board. No background music.
Settings
In the control panel (Backgammon, 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 rules and Emkay's play (engine.py) are plain Python with no OVOS in it:
Game(new_game(), words).handle("roll"); plays(start(), [6, 1]) lists every legal way to play a
roll. The game is a small dict that is saved as JSON. The words of each language are in
locale/<lang>/backgammon.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, where it is Gamão), 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 #boardgame #backgammon #dice #emkay
License
Apache-2.0. Made by emkay-voice, maintained by Andreas Lorensen.
Metadata
Release files for ovos-skill-backgammon 0.1.0a1
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_backgammon-0.1.0a1.tar.gz | 307.6 kB | With provenance | Details for ovos_skill_backgammon-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_skill_backgammon-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for ovos_skill_backgammon-0.1.0a1-py3-none-any.whl |
Total release size: 644.3 kB
Release files / ovos_skill_backgammon-0.1.0a1.tar.gz
| Download URL | ovos_skill_backgammon-0.1.0a1.tar.gz |
|---|---|
| Size | 307.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cd8c45bbdd76797a6aa34345e519c00ed7deac21d5754b70ae92292e7afdf9d
|
|
BLAKE2b-256 checksum How to use checksums |
5b1f56596d86b2d4c484be70b2f3fccbdbd959ebd069a636070a44b39535c80a
|
| 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_backgammon-0.1.0a1-py3-none-any.whl
| Download URL | ovos_skill_backgammon-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 336.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6264b1eca9652d85f5a35eb9f0dea01d0348e51d8be076943b2334451aa3c26
|
|
BLAKE2b-256 checksum How to use checksums |
05c18637a70b66eb257281bda32997be5db5c7643f79063d48e871affb8bf74f
|
| 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-backgammon 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.
Attestation for ovos_skill_backgammon-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 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.