-
Notifications
You must be signed in to change notification settings - Fork 2
Firebase Overview
Subtlemon edited this page Apr 26, 2019
·
6 revisions
Contains all data associated with a given room.
Contains presence of all users in the room, regardless of whether or not they're in game.
- User ID and nickname of all users.
Contains information associated with an active game. Games cannot start if this node already exists.
Contains presence of all users in game.
- onDelete
- Cloud Function Trigger to delete the parent game.
Contains all chain data in the current game.
- A list of chains, which each contain a list of chain links. Each chain link contains a word/phrase or image, and the ID of the user that guessed/drew it.
Contains presence of all users not ready to progress.
- 'value'
- Client listener to progress through the game.
Contains settings for the current game.
- order (the order in which players will progress through the chains)
- players (list of players that started the game)
- Misc data (such as drawTime, the maximum allocated time to draw your word/phrase)
- 'value'
- Client listener to progress to game phase.