Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

184
Visualizações
Multiple Web-Based Clients Interacting within a Game

I have a web-based game with 6 players on a team. Node.js runs the server-side for everyone (express, mongodb), with html/javascript on the front end.

I'm not sure how to let the players "interact" by receiving game updates in real time on their client from the server. For example, Player 1 clicks a button, the action is sent to the server, and all other players receive this information from the server. Or Player 1 clicks on an item and all other players then have the item disappear from their screens. Or Player 3 votes to go in east, and all other players see that vote. I'm not sure how to have the javascript wait for and react to actions from the server.

I realize this is a basic conceptual question but my training didn't touch on this. I will need to do this often, and I can't even get past the point where Player 1 clicks to start the game and the other players then are taken to the next location.

Any help is greatly appreciated, even just pointing me to a resource to learn. Thanks in advance!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda