title: Multiplayer JavaScript game built with Node.JS - Separating players
body: <p>I have a question which I cannot find an answer to.</p>
  
  <p>I'm experimenting with building a multiplayer game with Node.JS and Socket.IO. I have built a chat room as my first experiment, so I have broadcasts working etc. Now I'm at the point where I want to get something working with Canvas.</p>
  
  <p>The problem I'm having is getting my head around multiple and independent players. I know that each player will send their x,y cords to the server and the server will broadcast those, but how does the client know how many players to display, I'm guessing they have to be stored in an array somewhere.</p>