Closed kilpatty closed 6 years ago
Hey just saw this on the /r/Vue subreddit. Love what you have done here, but there is a quick bug that I have found.
Right now when performing an "En Passant" the pawn that should be taken is not.
How to replicate: White: pd4 Black: pf6 White: pd5 Black pe5 White: pe6
In this scenario the black pawn on e5 should be captured, but it is indeed not.
Hope this helps!
Cheers
Thanks for the feedback. It should be fixed in this commit https://github.com/vitogit/vue-chessboard/commit/0ac0674cf499d1c5c5de02480eb72c7c9963725b Also I added a promotion callback.
Hey just saw this on the /r/Vue subreddit. Love what you have done here, but there is a quick bug that I have found.
Right now when performing an "En Passant" the pawn that should be taken is not.
How to replicate: White: pd4 Black: pf6 White: pd5 Black pe5 White: pe6
In this scenario the black pawn on e5 should be captured, but it is indeed not.
Hope this helps!
Cheers