Skip to content

Movement Calculation Class? #4

@JonathanYiv

Description

@JonathanYiv

Consider extracting movement calculations into its own class.
If so, each piece inheriting from Piece could have a move set.
The movement calculator could have methods to calculate moves in a given direction, or moves given a specific transformation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions