I'm working on a app where tennis players can add score. When a player starts playing he is starting the streaming service and invites the other player. After the game a "post session page" will turn up where the players can add a personal note, winner and the score. The personal note will only be visible to yourself, but the score will be shown to the other player, so that he can confirm it.
Im a bit confused over this race condition where one player can add a score in the post session page and the other can do it aswell. I want to give them both the opportunity to add score, but it gets a bit complex if they both add different score. The easiest way would be to just say that one player can add score and then the other one will recieve a message in the app where he can confirm it. So I have two questions:
- Is it okay to have the save button represent the saving for the whole form (personal note, winner and score). Or should the personal have a seperate save button of its own?
- How should I handle the score? I want them to be able to add score and "agreeing" on a score in the end. Is there any other good examples out there which I can gain knowledge from?