We would like to extend the app so it accounts for all game-related UI / database requirement.
Possible tagline: mi casa es mi casa
The leaderboard database / app structure doesn't need to change except:
from a particular Game page, you should be able to launch a new series. A series does not effect the leaderboard. Consider: Mikey and I are playing a best of 7 for the 8 ball championship - the series tracks the number of games we've each won so far. The ongoing series array will be stored at the top level of the database. This is so a given player can access all of their open series.
Separately, each Series can launch an active Game. There is always exactly one active game (currently responding to the Flic buttons). Note there can be lots of ongoing series, but this has nothing to do with which games are active.
You should be able to create a record from the active game directly.
We are explicitly ignoring questions about how the leaderboard should update if there are multiple series happening simultaneously. At the moment, the leaderboard app does not enforce any restrictions about which players can be in a game. Whenever a series is completed, it will behave as if the whole series was completed at that moment (ignoring possible ranking changes between the time the series started and ended)
We would like to extend the app so it accounts for all game-related UI / database requirement.
Possible tagline: mi casa es mi casa
The leaderboard database / app structure doesn't need to change except:
Separately, each Series can launch an active Game. There is always exactly one active game (currently responding to the Flic buttons). Note there can be lots of ongoing series, but this has nothing to do with which games are active.
You should be able to create a record from the active game directly.
We are explicitly ignoring questions about how the leaderboard should update if there are multiple series happening simultaneously. At the moment, the leaderboard app does not enforce any restrictions about which players can be in a game. Whenever a series is completed, it will behave as if the whole series was completed at that moment (ignoring possible ranking changes between the time the series started and ended)