agathazeren / cuneiforbits

𒆩𒀩𒂷𒂷𒂷𒀖
1 stars 1 forks source link

How to handle synchronizing the gameplay state with the ui state? #12

Closed agathazeren closed 4 years ago

agathazeren commented 4 years ago

The big question here is whether to have an Update type that encodes all possible gameplay changes, or to just have the ui update. There is also the question of, if we don't have a formal Update, then which part of the code is responsible for updating the ui.

yvnat commented 4 years ago

Update sounds very good for making nice, neat code, but it will make adding new features much more cumbersome. I suggest making do without it for now for the sake of completing the prototype version of the game, and then refactoring the code at a later point to include Update.

agathazeren commented 4 years ago

That seems like a reasonable course of action. We will see how bad the code ends up being.