Open desairudra opened 4 days ago
hey @desairudra please assign this issue to me
@siya100 .This issue has been assigned to you.
@siya100 I would like to know your progress on this issue
hey@desairudra sorry for the inconvenience actually i havent started working on it can you please give me one day and i will update you as soon as possible.
Description When a player is in check, any move they make that does not remove the check should be considered invalid. The only valid moves in the move that free the king from being in check. If a player attempts a move that leaves their king in check, that move should be rejected, and keep asking the same player about his player until a move is made that free is king from check. Expected outcome If after the player X move if Player Y King is in check.After the Player Y turn is over.If his King is still in check condition then make that move invalid and keep asking the player Y about his move until such move is made such that his king is freed from check.Make sure that this should work for both players