Apologies Server
Apologies Server is a Websocket server interface used to interactively play a multi-player game using the Apologies library. The Apologies library implements a game similar to the Sorry board game.
I originally developed this code in mid-2020 during COVID-enforced downtime, as part of an effort to write a UI to play the Apologies board game in a web browser. However, Javascript moves really fast, and by mid-2021, my UI implementation was already partially obsolete, and I abandoned work on it.
This code is still a reasonable example of how to build a Websocket server including a state machine to manage board game state. However, its main purpose was to support the process of building that web UI, so it's not designed or architected for production use. It doesn't really look like something I would write today, given the benefit of more experience with async design patterns in Python. But, it works.
See the documentation for notes about the public interface and the event model.
Statement on free-threading: This code is single-threaded by design. Starting with Python 3.14, the matrix build CI workflow in GitHub Actions ensures that the test suite passes for both standard and free-threaded interpreters.
Metadata
Release files for apologiesserver 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apologiesserver-0.2.3.tar.gz | 90.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apologiesserver-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 135.3 kB
Release files / apologiesserver-0.2.3.tar.gz
| Download URL | apologiesserver-0.2.3.tar.gz |
|---|---|
| Size | 90.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6f911bb76a2a06c13c6da6033a4a8fd4830daff19f947b312387d1e79b636dc
|
|
BLAKE2b-256 checksum How to use checksums |
732cca785e84b41d0e5958ad1c327d56882fb2160d081d0211486aeaa4486edb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / apologiesserver-0.2.3-py3-none-any.whl
| Download URL | apologiesserver-0.2.3-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09f5a92308cbb018242f2f93325770668350be93c586e44347c2b645436f0dab
|
|
BLAKE2b-256 checksum How to use checksums |
285da5c344607f1dea9de37fc857e0be206bdd6e7a95f23426e5a7d43f15c818
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|