Websockets + HTML client

Started by Gazarsgo, November 27, 2021, 04:34:40 AM

Hi,

I think adding the websockets protocol in service of an HTML based client would increase the accessibility of the game to a modern audience.  One of the original authors of DIKUMUD completed a similar project which has been open sourced and may be of interest for inspiration or design.  The client is quite snappy in the browser, but some thought should be given to other usability like saving text captures and the like.  Certainly some capacity planning as far as testing for any changes in hardware utilization should also be considered.

References:

https://github.com/Seifert69/DikuMUD3

http://www.valhalla.com/v3/client/client-b.html?protocol=ws&host=valhalla.com&port=4280&endpoint=%2Fecho&reader=true

https://dikumud.com/dikumud-iii/

Yeah, it'd be nice to remove the "what is a MUD client?" barrier.

Another option: https://github.com/Odoth/mudslinger  Runs separate from the MUD itself, takes web socket connections on port 80 and makes its own telnet connections to the MUD behind the scenes. A downside is that you probably wouldn't get accurate IP reporting out of the box--everyone would show as connected from the proxy IP. But I don't know how much staff rely on that today.
<Maso> I thought you were like...a real sweet lady.