How to transfer data - client to client

I have a app for table RPG, and I need a help to the story teller can modity the stats of the players:
Example:
Have 2 phones connected in WIFI, one is the “Master” and only he can edit the stats numbers to the other in real time, and the other phone just can see your stats but not edit!

i think you have to use a game mode