two-brothers / leaderboard-app

0 stars 0 forks source link

Extend to Game App #9

Open nikeshnazareth opened 4 years ago

nikeshnazareth commented 4 years ago

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)

nikeshnazareth commented 4 years ago

Note that you can connect to a separate database (the one housing the Flic button events) with this link: https://firebase.googleblog.com/2016/12/working-with-multiple-firebase-projects-in-an-android-app.html