Answer the question
In order to leave comments, you need to log in
Is it worth implementing multiplayer based on Realtime Database?
I am developing a card game with simple multiplayer for Android, iOS and Web.
Is it worth it to implement multiplayer by keeping track of each player's data updates in the Realtime Database (Firebase)? Users should be able to play with users of any platform .
It is important that players see the actions of other players as quickly as possible.
I suspect that such a solution may be incorrect (at least because the data update speed will suffer, + perhaps there are already ready-made solutions).
If not, how can this task be accomplished?
Answer the question
In order to leave comments, you need to log in
at least because the data update speed will suffer
Better use an array to store intermediate data.
If it is important for you to save the result in the database, then after the session, load the array into the database.
I do not think that implementing dynamics on the database is generally the right and reasonable solution.
This is a frieze error, hard to fix, almost impossible. And the best solution in my opinion is to switch to Pyinstaller. And so, Pyinstaller is more convenient, but it’s a little more difficult to set up, and it’s also easy to assemble it into one without a console.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question