Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


Yep, 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


Websocket is not very good for online games because it's TCP based, also there are millions of websockets library in every languages.


Right, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: