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).<p>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].<p>How would you approach building a turn-based multiplayer browser game in 2025?<p>[0] https://www.npmjs.com/package/ws<p>[1] https://www.npmjs.com/package/socket.io<p>[2] https://news.ycombinator.com/item?id=42816359<p>[3] https://news.ycombinator.com/item?id=43589794