Skip to main content

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.

It was written as a learning exercise and technology demonstration effort, and serves as a complete example of how to manage a modern (circa 2020) Python project, including style checks, code formatting, integration with IntelliJ, CI builds at GitHub, and integration with PyPI and Read the Docs.

See the documentation for notes about the public interface and the event model.

As of this writing, the published PyPI project does not include a script to run the server. The only way to run it is from the codebase, for local testing. See the developer documentation at GitHub for more information.

As a technology demonstration effort, the Apologies Server is fairly simplistic. It runs as a single stateful process that maintains game state in memory. It cannot be horizontally scaled, and there is no option for an external data store. There is also only limited support for authentication and authorization - any player can register any handle that is not currently being used. We do enforce resource limits (open connections, registered users, in-progress games) to limit the amount of damage abusive clients can do.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apologiesserver-0.1.11.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

apologiesserver-0.1.11-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file apologiesserver-0.1.11.tar.gz.

File metadata

  • Download URL: apologiesserver-0.1.11.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.0 Darwin/19.6.0

File hashes

Hashes for apologiesserver-0.1.11.tar.gz
Algorithm Hash digest
SHA256 64531bc4705cc3b1320823ddbc43308fb729d16870bca8e700b85f7d8919601e
MD5 cace5517666a3c6e0c140c7d4a234a8b
BLAKE2b-256 01f9a6296dd52367284eccf0b83ea37b9d02449f6b73bf72ee79e4414630b7f5

See more details on using hashes here.

File details

Details for the file apologiesserver-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for apologiesserver-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1e2e4dac29465f134e3c8b63ad9ea8964bc731bd7cd264e002170d5074e6dcbf
MD5 686ce82dede5aecb58a68e5e45ec8337
BLAKE2b-256 4148f2fc2e291b0f47867f0d562920ccd6c029ab037d31056c00954f5df7b95c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page