javascript - Multiplayer online chess and card games
天蓬老师
天蓬老师 2017-05-17 10:03:58
0
2
830

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

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
左手右手慢动作

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

巴扎黑

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!