New answers tagged

1

TL;DR Go with the simplest, most robust solution until it becomes a problem. Saving the entire game state From my understanding game is turn-based, with a super finite amount of actors and actions on a small map at anytime. I can almost guarantee that it will never be a problem saving your entire game state into a single Firestore document. So go with the ...


1

It depends - first of all start with whatever you have and later upgrade if problems occur. If storing whole state becomes a problem then... ...Command pattern is the way to go, as others said. Storing a state after each move is... not a way to go. No, let me rephrase. It's wasteful but good at prototyping stage. "You feel that it's bug prone". Yes,...


Top 50 recent answers are included