Open
Description
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
Labels
No labels