Websocket server to interactively play the Apologies game
Project description
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.
Prototype Code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apologiesserver-0.2.2.tar.gz.
File metadata
- Download URL: apologiesserver-0.2.2.tar.gz
- Upload date:
- Size: 89.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
710f791cd3eedf9d6c005a66a41c0b2bc13f86b6d007b7a5cf88a5409ebe7cb3
|
|
| MD5 |
01ec9b5bc0efe3708920e059d3c960d4
|
|
| BLAKE2b-256 |
176f33f90654ebf51007a51dbc3f2d3b406eae6dfee6ba0665347f9ea4f013e6
|
File details
Details for the file apologiesserver-0.2.2-py3-none-any.whl.
File metadata
- Download URL: apologiesserver-0.2.2-py3-none-any.whl
- Upload date:
- Size: 44.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c61dad2af94730af4a059a143149b31f0ef758edc849b46e4b4696f83d91119
|
|
| MD5 |
adb86e525a2c190bf303c420d36c9488
|
|
| BLAKE2b-256 |
b4dd3a44e7d50236b9e58e4822594ba2b561c0d9e3b1f522075839747e51285c
|