Android Question Tutorial for communication structure for group game


Licensed User
Longtime User
Has anyone come across a tutorial or description of how to make a group game work? I'm imagining something like a card game with each player using their phone to link up to the master phone which would keep track of the "deck of cards" and "deal" them out to the players.

Is there an example somewhere of the joining and discovering of each player/phone so the master would know what to send to whom?

Thanks in advance