Skip to content

Many chess logic are not found #2

Open
@Brxj19

Description

@Brxj19

Hey, I played your chess game but there is no check logic any piece is movable when the king is in check and your code is also allowing to capture the opponent king. There is no en passant logic which occurs when the opponent pawn plays two move ahead and your pawn is on either on 6th rank or 4th rank according to your player color then your pawn can capture opponents pawn. And the third issue is you cannot do promotion of the pawn on the opposite last rank on the board..this is all hope you can fix this bugs.

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