This is not really an issue but I can't seem find help anywhere else.
I'm creating a simple multiplayer pong game with 2 players.
Each player should only be able to control their respective paddle. So in theory I would send a message to client 1 saying 'control_paddle_one' to client 2 I would send 'control_paddle_two'.
I did this in socket.io by using io.sockets.socket(id).emit('message').
This is not really an issue but I can't seem find help anywhere else.
I'm creating a simple multiplayer pong game with 2 players.
Each player should only be able to control their respective paddle. So in theory I would send a message to client 1 saying 'control_paddle_one' to client 2 I would send 'control_paddle_two'.
I did this in socket.io by using io.sockets.socket(id).emit('message').
Is there a way to accomplish this using streams?
Thank you!