I am working on a multiplayer game application in which I need to randomly select the players with same parameters that are connected to socket, to play the game. I am storing a