You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MobaPlayer class has too many attributes. It should be a simple dataclass.
Convert MobaPlayer and Player to dataclasses
Add other classes that use MobaPlayer as a component, such as MobaPlayerStats and MobaPlayerSimulation to divide responsibilities
Add a serialize() method to return a dictionary of the player (Probably derive from a common Serializable interface). This makes it easier to write this to a database.
Make all fields accept the same types:
UUID for ID
date for date of birth
Add get_from_dict() method to make it easier to deserialize data from a dictionary. It makes it easier to load from a database.
Remove Skill implementation, to use a different approach
The text was updated successfully, but these errors were encountered:
The MobaPlayer class has too many attributes. It should be a simple dataclass.
UUID
for IDdate
for date of birthThe text was updated successfully, but these errors were encountered: