Skip to content

Separate rule checking and move generation #2

@Firegate1075

Description

@Firegate1075

Currently the methods to generate moves for pieces include checks, wether or not the moves are legal, e.g. checks for king in check.
This is undesirable, since in alternative modes like antichess the rules are different than in regular chess but the pieces move the same way.
If the code is uncoupled the same code could be used for move generation for antichess and regular chess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions