¿How difficult could be to replace the current p2p model to a player-server communication? I was trying to figure out how the game connects from one player to another, but i don't know where to start.
I just found there is a lobby connected through xmpp and a simulation part where players sends an Engine.broadcast(). But i didn't see from where comes that JS Engine class.
I wanted to try adding a NodeJS server but i don't know if this is possible, don't know how to replace that broadcast to a socket connection