Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

apologiesserver

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apologiesserver

Websocket server to interactively play the Apologies game

pipPyPI
Version
0.2.2
Maintainers
1

Apologies Server

pypi license wheel python docs coverage

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts