Orpheus-3145 / transcendence

3 stars 0 forks source link

GAME - Multiplayer #18

Open ys-zm opened 4 days ago

ys-zm commented 4 days ago

implementing game in multiplayer

Orpheus-3145 commented 2 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.