X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=views%2Frules%2FSwitching.pug;h=8f1af19ae51cb429233da4b7eff45f820b897e47;hb=da06a6eb0237123ce43fdb01cb06246b8b57f5e5;hp=3104734b0943b35a42dd271d267a56afa4366695;hpb=1221ac47836806efb287b0323b92957d9129c653;p=vchess.git diff --git a/views/rules/Switching.pug b/views/rules/Switching.pug index 3104734b..8f1af19a 100644 --- a/views/rules/Switching.pug +++ b/views/rules/Switching.pug @@ -1,5 +1,6 @@ p.boxed - | In addition to standard moves, a piece can be exchanged with an adjacent friendly unit. + | In addition to standard moves, a piece can be exchanged + | with an adjacent friendly unit. h3 Specifications @@ -20,6 +21,15 @@ p | Switching must involves two different units. | Switching while the king is under check is not allowed. +p. + Notation: a switch move is marked by the capital letter 'S' followed by + the exchanged squares. Example in diagram: Sb8c8 + +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: