jeremielenoir / oostaoo-coding-adventure

3 stars 3 forks source link

CREATE ROOM LOGIC FOR SOCKETS #510

Open Julien-Allard opened 2 years ago

Julien-Allard commented 2 years ago

Put in place logic for socket session so we can connect in different rooms and they don't communicate with each other.

See the Rooms doc for socket.io.

Right now we can only connect 2 users in 1 room. As soon as 2 rooms are open at the same time the app crashes.