Group related fields of GameState into child records #872
Labels
C-Low Hanging Fruit
Ideal issue for new contributors.
G-Game State
An issue having to do with the game state record.
S-Nice to have
The bug fix or feature would be nice but doesn't currently have much negative impact.
Z-Developer Experience
This issue seeks to make life easier for developers writing Scenarios or other Swarm code.
Z-Refactoring
This issue is about restructuring the code without changing the behaviour to improve code quality.
GameState
is a very "wide" record. Currently it has 34 fields. Several of those fields are closely related to each other, but unrelated to the remaining fields.E.g.:
and
and
and
I propose that we create new records for each of the groupings above (and perhaps more). Each of new records will become consolidated fields of
GameState
.The text was updated successfully, but these errors were encountered: