5 ms·
This looks just about perfect for powering all those team online games we all played a lot during lockdown (and still do), is that right?
by globalise83 4y ago
This looks just about perfect for powering all those team online games we all played a lot during lockdown (and still do), is that right?
- paulgb 4y agoYep, in fact, it was making a word game[1] for my family to play on zoom calls early in lockdown that sent me down the rabbit hole of synchronizing state in distributed systems. [1] https://word.red https://word.red
- Thaxll 4y agoWebsocket is not very good for online games because it's TCP based, also there are millions of websockets library in every languages.
- paulgb 4y agoRight, WebSocket is fine for a chess game, but you wouldn’t use it for a first-person shooter. If you do want UDP from a browser (via a WebRTC data channel) you first need a side channel to establish the connection, and DriftDB is handy for that.