search

Home  >  Q&A  >  body text

javascript - Multiplayer online chess and card games

How to synchronize player status and hand cards when developing a multiplayer online chess and card game
This is my first time contacting game communication. I checked some information on Baidu and felt a little ignorant. Please give some information or explain the ideas and uses. Thank you for the technology in advance

天蓬老师天蓬老师2775 days ago925

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-05-17 10:05:58

    websocket technology You can use node’s socket.io package

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-17 10:05:58

    There are several options:

    1. Scheduled polling or long connection ajax;

    2. websocket;

    3. Message queues such as mqtt;
      Development difficulty, workload and performance vary, and the choice depends on the needs of the main project.

    reply
    0
  • Cancelreply