Andrew
Andrew

Reputation: 101

Is PeerJS, WebSocket, and/or Socket.io capable of matching users based on a property

I have limited knowledge in this area. Is the following (joke) example possible to construct via Node.js packages?

E.g.
Clients open home page, they are asked 'Do you believe the world is flat?'
Clients that click 'Yes' they are grouped in Group Yes,
Clients that click 'No' they are grouped in Group No.

Next, clients from Group Yes are matched in a one-on-one room with clients from Group No.

If this is possible, how would the matching process occur? Would a lobby be required?

Upvotes: 0

Views: 263

Answers (0)

Related Questions