Open ys-zm opened 4 days ago
The idea is to create an array of sessions: each session has an instance of SimulationService running, its unique token and its room in the websocket; once the game ends the session is closed and removed from the array.
Rooms allow to split the communication into sort of sub-channel, not seed by the clients.
implementing game in multiplayer