I'm trying to create a game where the browser on the desktop is one view and the mobile device is another. You use your mobile device as a game controller to make the characters move around on the desktop. It looks like chrome.com/supersyncsports.
How to use socket.io, what is the best way to sync a mobile device with a desktop client? chrome.com/supersyncsports uses code to synchronize two clients. Do they use something like the namespace of sockets or rooms, where the code is the name of the room?
Iām looking for a way to synchronize two clients and make sure that the data is selected only for the correct device and connection, and not for all connections. What is the best way to use socket.io for this?
source share