Game Development Reference
In-Depth Information
As we develop the complete game, we will need to communicate more information
such as dynamic model locations and scores. However, for the purpose of learning,
we will stick to the preceding information.
Also in Socket.IO, we only transfer the string data from the client to the server.
Hence, we will use JSON strings for communication. Let's take a look at the structure
of JSON objects we will use to communicate between clients.
In the following screenshot, we have described the information we need to transfer
in the form of a JSON object:
 
Search WWH ::




Custom Search