Can i create multiplayer game in socket.IO. i am try to lots of data handle in socket.IO. i am create highest multiplayer game like poker, black jack, Teen Patti. my question is can i create this type of game handle in socket.IO?
Asked
Active
Viewed 103 times
1 Answers
2
Definitely. Socket.io provides a nice layer of abstraction above regular websockets, and a feature you'll likely want to make use of is rooms.
Rooms let you bundle together several client connections into a virtual "room", meaning you can easily send messages within the room to all recipients.

dwb
- 2,136
- 13
- 27
-
Thanks for give Answer – Radadiya Ravi Sep 23 '21 at 15:32
-
@RadadiyaRavi If it answered your question, click the green check mark :) – dwb Sep 23 '21 at 16:45
-
yes but can i handle million of user in socket.io – Radadiya Ravi Sep 23 '21 at 18:16
-
@RadadiyaRavi it certainly seems that way, depending on your server architecture. check out [this so post](https://stackoverflow.com/a/38708779/9063935), and google "scale up socket.io" for even more information. when scaling up in this sort (especially if you're using nodejs) how the language works under-the-hood is more important when scaling than the library (which is still important obv) – dwb Sep 23 '21 at 18:31