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
websocket technology You can use node’s socket.io package
There are several options:
Scheduled polling or long connection ajax;
websocket;
Message queues such as mqtt;
Development difficulty, workload and performance vary, and the choice depends on the needs of the main project.