Skip to content

Comment on Ask HN: What stack for a multiplayer board game?

Comments

You could look in peer to peer interactions for some actions on the board and websockets for keeping state of the board in sync for everyone.

Personally I would try Server Sent Events if its just a hobby. https://html.spec.whatwg.org/#server-sent-events

Supports compression easier, less issues with proxies, multiplexing etc. And have found that they're much more simple to play with!

tspOP

Interesting! I never used SSE, because I read that it is more complicated than websockets.

tspOP

Are there any peer to peer protocols in particular that you can recommend for this use-case?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.