This question already has an answer here:

From FIDE Law of Chess, article 3.8, it is stated as: Castling Rule

Now, coming to My game vs killin_pieces on lichess.org :

After move 9, situation was something like this: b1 was threatened by my opponent's light square bishop:

position 9

Still I was able to give him a discovered check on move no. 10.

position 2

which clearly contradicts FIDE Law of chess article 3.8.2.a, stated as :

Castling is prevented temporarily: if the square on which the king stands, or the square which it must cross, or the square which it is to occupy, is attacked by one or more of the opponent's pieces

Can anyone please explain me how can this be possible ?

marked as duplicate by GloriaVictis, Remellion, Brian Towers Aug 5 at 10:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    This is not a discovered check. – user1583209 Aug 5 at 12:09

The king does not cross b1 (only the rook does). It also does not end up standing on b1 following the castling. Hence, the quoted rule is not violated.

Not the answer you're looking for? Browse other questions tagged or ask your own question.