X-Git-Url: https://git.auder.net/assets/current/git-favicon.png?a=blobdiff_plain;f=views%2Frules%2FSwitching.pug;h=ce2fdbcca303f4f210b0fbec7f0883882c95cbb9;hb=2316f8b8248589effc756d5c09c73a1acb431574;hp=4d1dcd52fae46dfaf509a95399cdf35a018db828;hpb=3ad85eac7975eef019f2883fe0be19ed4a646387;p=vchess.git diff --git a/views/rules/Switching.pug b/views/rules/Switching.pug index 4d1dcd52..ce2fdbcc 100644 --- a/views/rules/Switching.pug +++ b/views/rules/Switching.pug @@ -21,6 +21,11 @@ p | Switching must involves two different units. | Switching while the king is under check is not allowed. +figure.diagram-container + .diagram + | fen:1RB3k1/5ppp/8/8/8/8/8/K7: + figcaption White can mate in 1 by switching b8-c8 + p. Note: if the king and rook are on two adjacent squares, castling and switching from the king are triggered in the same way. Castling takes priority: