This will describe you complexity of real time client-server communication.
Start with login, go slowly to current game session state and updating it. Better make couple dummy games before you sit down on something really serious.
Avoid shit like map, filter, etc. Sooner or later, you discover this unbelievably slow down your application. Unless you are one of hipster/ninja supercoder how think he is best hacker on the world.