Skip to content

Remove tight coupling between certain models #62

Description

@trevorbayless

In some areas of the code, there is tight coupling between models. For example: https://github.com/trevorbayless/cli-chess/blob/master/src/cli_chess/modules/premove/premove_model.py#L7. The premove presenter in this case should have the BoardModel passed in there, and the presenter will handle notifying the premove_model when needed.

This is just one area identified - there are others that also need to be decoupled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code refactorThe associated item needs code to be refactored

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions