Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Reversi

Reversi against Emkay, by voice. The squares are named as in chess – column a to h, row 1 to 8 – so a move is just "d3". You place black, Emkay places white and tells the square and every disc it turns, so you can play on the screen – or on your own board, and place and turn Emkay's discs as it says. Easy, normal or hard; you start, or Emkay does. Made for Emkay, works on any OpenVoiceOS.

Reversi on a lying screen Reversi on a standing screen

Examples

"play reversi"                  "start reversi over"
"d3"    "c four"    "f 5"
"where can I place?"            "what was your move?"      "how many discs?"
"give me a hint"                "undo"
"play an easy reversi"          "play reversi, you start"
"show the rules"                "help"                     "stop playing"

"spil reversi", "d3", "c fire", "hvor kan jeg lægge", "giv mig et tip",
"fortryd", "spil reversi, du starter", "vis reglerne"                        (Danish)

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.

  • You place black and begin; Emkay places white. Four discs stand in the middle at the start.
  • Place a disc so that one or more of Emkay's discs lie in a straight line between it and a disc of yours – across, up or on the slant. Those discs turn to your colour.
  • Every move must turn at least one disc. If you cannot, you pass – and so does Emkay.
  • When neither can place, the game is over: most discs wins.

On a real board

Emkay tells its move in full – "I place on c5 and turn d5." – so you can do it for it. On the screen the disc it placed is ringed in gold, the discs it turned get a gold dot, and small dots show where you can place. "Where can I place?" reads them out.

Emkay's play

Emkay looks ahead with a minimax search (alpha-beta) that values corners, edges and how many moves each side has left – and only the count of discs near the end. On easy it is greedy now and then; on normal it looks up to four moves ahead and on hard up to seven, as far as the time allows (about one and a half and three seconds). "Give me a hint" asks it for a good square of yours, and undo takes back your last move and Emkay's.

"Play ..." and OCP

OpenVoiceOS lets its media player (OCP) answer every play .... So Reversi is a common play skill too: when OCP searches for "reversi", 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 move the game is saved – on the device, and with My Emkay for your other devices too. Stop playing, and play reversi goes on where you were. Start reversi over starts again.

Pictures

A green board with the columns and rows written along the edges, black and white discs, the last move marked. One plain SVG, so it shows on every screen, the Mark II's too. On a standing screen – Emkay on a phone – the board stands too. No background music.

Settings

In the control panel (Reversi, under Everyday): the game on now or the saved one, start it on the device, start over, stop – and 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("d3"). The game is a small dict that is saved as JSON. The words of each language are in locale/<lang>/reversi.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 #boardgame #reversi #emkay

License

Apache-2.0. Made by emkay-voice, maintained by Andreas Lorensen.

Metadata

Release files for ovos-skill-reversi 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-reversi 0.1.0a1
File Size Uploaded Provenance Actions
ovos_skill_reversi-0.1.0a1.tar.gz 163.3 kB With provenance Details for ovos_skill_reversi-0.1.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 352.1 kB

Release files / ovos_skill_reversi-0.1.0a1.tar.gz

Download URL ovos_skill_reversi-0.1.0a1.tar.gz
Size 163.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4da2c1972b12c902da6de1cf22b22aec561e309405280c346870b06fdb7b5f5e
BLAKE2b-256 checksum
How to use checksums
c6a4627e99597ffcd948285f1becb818e3228095ade5824ffbd74e154863f619
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_reversi-0.1.0a1-py3-none-any.whl

Download URL ovos_skill_reversi-0.1.0a1-py3-none-any.whl
Size 188.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6f5697558bbc01d7eab0f9883dced64b8149f517b106032b685d84ebafe5f85
BLAKE2b-256 checksum
How to use checksums
b8f7b189d4a3eb6b9de33f607a259db19390e5235017cea7f758355db8939937
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-reversi 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_reversi-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.

Release history Release notifications | RSS feed

This release
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