Ask HN: How would you build a turn-based multiplayer browser game?
I've recently been tinkering away at a turn-based multiplayer browser game in my downtime. I'm a Typescript guy so my current tech stack is Next.js, Node.js, and ws[0] for WebSockets (though I'm thinking of switching over to socket.io[1] given how much more they provide out of the box).
Right now my main concern is how to handle continuous deployments without interrupting ongoing games (amongst other WebSocket challenges[2]). I was planning to deploy via Coolify, but am considering other options given that their zero downtime deploys still needs some love[3].
How would you approach building a turn-based multiplayer browser game in 2025?
[0] https://www.npmjs.com/package/ws
[1] https://www.npmjs.com/package/socket.io
[2] https://news.ycombinator.com/item?id=42816359
[3] https://news.ycombinator.com/item?id=43589794
No comments yet.