TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How would you build a turn-based multiplayer browser game?

3 pointsby jbryuabout 1 month ago
I&#x27;ve recently been tinkering away at a turn-based multiplayer browser game in my downtime. I&#x27;m a Typescript guy so my current tech stack is Next.js, Node.js, and ws[0] for WebSockets (though I&#x27;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:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;ws<p>[1] https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;socket.io<p>[2] https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42816359<p>[3] https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43589794

no comments

no comments