Skip to content

Invalid Check tag after pawn promotion to Knight? #112

Description

@activey

Hi,

I have this FEN: k7/4P3/8/8/8/8/8/K7 w - - 0 1

When I perform a move that promotes white Pawn to Knight, game.ValidMoves() returns a move from E7 to E8 with promo to Knight but for some reason it has a Check tag, while I think it should not as black King is not in threat from white Knight on E8?

I appreciate any answers ;)

BR

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