Skip to content

Enpassant bug #133

@Youssef1313

Description

@Youssef1313

if (lastMovedPiece is Pawn ||
!GetPawnMoveType(lastMove).Contains(PawnMoveType.TwoSteps) || lastMove.Destination.File != move.Destination.File ||
lastMove.Destination.Rank != move.Source.Rank)

This looks like a bug.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions