Fix '3 knights' bug + tiny advance on problems tab
[vchess.git] / views / rules / Switching.pug
CommitLineData
1221ac47 1p.boxed
92342261
BA
2 | In addition to standard moves, a piece can be exchanged
3 | with an adjacent friendly unit.
1221ac47
BA
4
5h3 Specifications
6
7ul
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
15h3 Basics
16
17p
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
2316f8b8
BA
24figure.diagram-container
25 .diagram
26 | fen:1RB3k1/5ppp/8/8/8/8/8/K7:
27 figcaption White can mate in 1 by switching b8-c8
28
1221ac47
BA
29p.
30 Note: if the king and rook are on two adjacent squares, castling and switching
31 from the king are triggered in the same way. Castling takes priority:
32 if you wanna switch, use the rook.
33
34h3 Credits
35
36p
37 a(href="https://www.chessvariants.com/diffmove.dir/switching.html") Switching chess
38 | on chessvariants.com.