In the previous chapter, we saw how the WebSocket API could be used with a Node.js server to implement a simple client—server networking architecture. We used this to build a simple game lobby, so two players can now join a game room on a server and start a multiplayer game against each other.
KeywordsTrigger Event Network Latency Event Handler Command Message Chat Message
Unable to display preview. Download preview PDF.