Given the heterogenous data, a dataclass could make it easier
Another possibility is to put Lifepath into json file and put random logic into Character class
Decision Flowchart:
___ Homogenous ___ Homogenous or Heterogenous? ___ Heterogenous ___
| |
___ Scalar or Collection? ___ ___ Do you have Invariants? ___
| | | |
| Scalar | Collection | No | Yes
| | | |
Enumeration Dictionary Data class Class
Given the heterogenous data, a dataclass could make it easier Another possibility is to put Lifepath into json file and put random logic into Character class Decision Flowchart: