Jump to content

Real time board game


didjs
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...