Assume that all current scores are entered in the database as 'pending'.
Add two buttons to the referee interface:
'Save': after that, all scores in the score database should be 'provisional'. Scores can still be edited but this is typically only done if teams do not agree with the final score. This should be made very clear in the interface (e.g., a popup or a different 'warning' color)
'Finalize': similar to signing the form by the team leader (maybe cook up a mechanism for that). Scores in the database are set to 'final'. After finalizing, scores cannot be edited anymore.
I think a (set of) yaml/json file(s) could be a good solution for a database. Which are on a git repo. I don't know if we can get the app to automatically commit and push.
Assume that all current scores are entered in the database as 'pending'.
Add two buttons to the referee interface: