On the way to problems: saving state [not functional yet]
[vchess.git] / views / rules / Switching.pug
1 p.boxed
2 | In addition to standard moves, a piece can be exchanged
3 | with an adjacent friendly unit.
4
5 h3 Specifications
6
7 ul
8 li Chessboard: standard.
9 li Material: standard.
10 li Non-capturing moves: standard + switch.
11 li Special moves: standard.
12 li Captures: standard.
13 li End of game: standard.
14
15 h3 Basics
16
17 p
18 | Instead of a normal move, a piece may be exchanged with an adjacent friendly one.
19 | Switching can move pawns until rank 1 or final rank. In the first case a 2-squares,
20 | jump is possible, and in the second a promotion occurs.
21 | Switching must involves two different units.
22 | Switching while the king is under check is not allowed.
23
24 p.
25 Notation: a switch move is marked by the capital letter 'S' followed by
26 the exchanged squares. Example in diagram: Sb8c8
27
28 figure.diagram-container
29 .diagram
30 | fen:1RB3k1/5ppp/8/8/8/8/8/K7:
31 figcaption White can mate in 1 by switching b8-c8
32
33 p.
34 Note: if the king and rook are on two adjacent squares, castling and switching
35 from the king are triggered in the same way. Castling takes priority:
36 if you wanna switch, use the rook.
37
38 h3 Credits
39
40 p
41 a(href="https://www.chessvariants.com/diffmove.dir/switching.html") Switching chess
42 | on chessvariants.com.