Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Sync for all the games played #9

Open
KartikWatts opened this issue Mar 16, 2022 · 0 comments
Open

Firebase Sync for all the games played #9

KartikWatts opened this issue Mar 16, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@KartikWatts
Copy link
Owner

Major Issue

This will turn the local game into Realtime Online Multiplayer Game.
The mechanism (as per the current vision) will be as follows:

  1. At a single point in time, there would be a 'Single Online Game' that can be played by anyone joining thereby.
    (This is important to keep the firebase's free account usage in check, also to ensure a concentration of users in a single place.)
  2. From Firebase Auth #8 We will get the User (authorized or guest).
  3. A User would either be able to join the Online Game or they can also play locally.
  4. If there is no online game being available, the first User will create the game themself (by clicking the Create Game button), this will create a game instance in DB, and other users visiting the homepage will directly get the Join Game button.
  5. There would be no DB engagement during the game-play, and the data would only transfer at the end of the game, (There will be 30 seconds buffer time for the same, after the game).
  6. After the game ends, the score of all the users will be uploaded to Db, while the user will be shown the Result Screen from All the searched words in current game should be shown #4
  7. Right after the Result screen for the Individual performance ends, the User will be displayed his Global performance and Ranks among all the participants of the game.
  8. Some discussion needs to be done for the New Game mechanism, which will be updated as deduced.
@KartikWatts KartikWatts added enhancement New feature or request help wanted Extra attention is needed labels Mar 16, 2022
@KartikWatts KartikWatts self-assigned this Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant