Fix Checkered and Ultima rules. Write Chess960 rules and complete others
[vchess.git] / views / rules / Switching.pug
index 3104734..ce2fdbc 100644 (file)
@@ -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,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: