didjs Posted December 24, 2014 Share Posted December 24, 2014 HI there, I'm making a 2 players board game. The idea is that the 2 players are playing each one on their own device and each screen would be updated each time a player is doing something. I was thinking of using socket.io for this purpose but I don't know if this is the good way to do this. WebRTC could also do the job but it's a draft so... What do you think? Did Quote Link to comment Share on other sites More sharing options...
STuFF Posted December 28, 2014 Share Posted December 28, 2014 I'm working on a 2 player board game too. I'm using socket io. My client game basically send commands to my node server, and this one emit the command to both players. The game don't updates when player click the mouse, but when it recepts the command from server, to keep every one on sync.it works well. Quote Link to comment Share on other sites More sharing options...
Red Spark Posted December 28, 2014 Share Posted December 28, 2014 Yep, socket.io is an industry standard for this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.