Websocket Engine

08/30/2026

I wanted to take a card game I love playing with friends and turn it into an accessible web game that I could play with a blind friend of mine.

I quickly got carried away though. Taking inspiration from the IRC and MultiUser Dungeons (MUDs) of old, I created a room-based architecture that allows users to connect to the server and join rooms where they can talk amongst themselves, and optionally register a Handler. This Handler can then take commands from the chat and execute them within the context of the room. For the card game engine I'm still working on, this could be commands like /deal or /draw 3, but the commands could be anything you can imagine!