You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the database responds slowly, the game can sometimes end up in a situation which results a crash due to undefined objects/parameters which have been waiting to receive data from the db.
One example of this happening would be the Home.js ”rolling highscores.” We should put place some measures to ensure that the game recovers from situations such like these. Simple ”loading, please wait” prompts should be enough (i.e. with highscores the game would show a prompt like this until the db.highscorelisting.lenght can be verified being >0).
There are probably several pages/components within the game where this phenomena should be taken into consideration.
The text was updated successfully, but these errors were encountered:
When the database responds slowly, the game can sometimes end up in a situation which results a crash due to undefined objects/parameters which have been waiting to receive data from the db.
One example of this happening would be the Home.js ”rolling highscores.” We should put place some measures to ensure that the game recovers from situations such like these. Simple ”loading, please wait” prompts should be enough (i.e. with highscores the game would show a prompt like this until the db.highscorelisting.lenght can be verified being >0).
There are probably several pages/components within the game where this phenomena should be taken into consideration.
The text was updated successfully, but these errors were encountered: