Improve Bario rules description about castling
[vchess.git] / client / src / translations / rules / Shogi / en.pug
CommitLineData
cd49e617
BA
1p.boxed
2 | Every captured piece change color and can be dropped back later.
3 | Most pieces can promote on the three last ranks.
4
5p
6 | The following description is often borrowed from the
7 a(href="https://www.pychess.org/variant/shogi") Shogi guide
8 |  on pychess-variants, where I found the pieces images.
9 | Shogi is played on a 9 x 9 board.
10 | The side with a black king starts the game.
11
12p.
13 Captures are achieved by replacement on the destination square.
14 Any captured unit is added to a reserve of "pocket" pieces.
15 At each turn you can drop one of these pieces instead of moving one.
16 A dropped piece must be able to move, theoretically, considering only its
17 position on the board.
18 Pawns cannot be dropped on a file already containing a pawn of the same
19 color. They also can't be dropped to give checkmate.
20
21h3 Pieces movements
22
23h4 King, rook, bishop
24
25figure.showPieces.text-center
26 img(src="/images/pieces/Shogi/wk.svg")
27 img(src="/images/pieces/Shogi/bk.svg")
28 img(src="/images/pieces/Shogi/wr.svg")
29 img(src="/images/pieces/Shogi/wb.svg")
30 figcaption From left to right: black & white kings, rook, bishop.
31
32p These pieces look different but move exactly as in orthodox chess.
33
34h4
35 | Gold General
36 img(src="/images/pieces/Shogi/wg.svg")
37
38p.
39 The gold general moves by one square only, either like a rook or diagonally
40 forward.
41
42figure.diagram-container
43 .diagram
44 | fen:9/9/9/3b5/4Gp3/9/9/9/9 d6,e6,f6,d5,f5,e4:
45 figcaption Gold general movements.
46
47h4
48 | Silver General
49 img(src="/images/pieces/Shogi/ws.svg")
50
51p.
52 The silver general moves by one square only, either like a bishop or
53 orthogonally forward.
54
55figure.diagram-container
56 .diagram
57 | fen:9/9/9/3b5/4S4/5p3/9/9/9 d6,e6,f6,d4,f4:
58 figcaption Silver general movements.
59
60h4
61 | Knight
62 img(src="/images/pieces/Shogi/wn.svg")
63
64p.
65 The knight moves like a restricted orthodox knight: two squares forward,
66 and one to the side as the diagram illustrates.
67
68figure.diagram-container
69 .diagram
70 | fen:9/9/5p3/9/4N4/9/9/9/9 d7,f7:
71 figcaption Knight movements.
72
73h4
74 | Lance
75 img(src="/images/pieces/Shogi/wl.svg")
76
77p The lance moves like a rook but only in one direction: forward.
78
79figure.diagram-container
80 .diagram
81 | fen:9/4p4/9/9/9/4L4/9/9/9 e5,e6,e7,e8:
82 figcaption Lance movements.
83
84h4
85 | Pawn
86 img(src="/images/pieces/Shogi/wl.svg")
87
88p.
89 The pawn moves like in orthodox chess (without two squares initial move),
90 and he also captures in this way.
91
92h3 Promotion
93
94p.
95 All pieces except the gold general and the king can be promoted,
96 by playing a move arriving on one of the three last ranks.
97 Promotion is optional unless a normal move would result in a blocked piece.
98 Capturing a promoted piece put the non-promoted form in the reserve.
99
100figure.showPieces.text-center
101 img(src="/images/pieces/Shogi/wq.svg")
102 img(src="/images/pieces/Shogi/wo.svg")
103 img(src="/images/pieces/Shogi/wm.svg")
104 img(src="/images/pieces/Shogi/wt.svg")
105 figcaption.
106 Promotions from left to right: pawn ('Q'), knight ('O'),
107 lance ('M'), and silver general ('T').
108
109p.
110 Minor pieces in this game are the pawn, knight, lance and silver general.
111 They all promote to a gold general: only their appearance differ.
112 The rook and the bishop promote respectively into a Dragon King and a
113 Dragon Horse, which allow them to move like a king in addition to their
114 usual movements.
115
116figure.diagram-container
117 .diagram.diag12
118 | fen:9/9/9/9/4D4/9/9/9/9 a5,b5,c5,d5,f5,g5,h5,i5,e1,e2,e3,e4,e6,e7,e8,e9,d4,d6,f6,f4:
119 .diagram.diag22
120 | fen:9/9/9/9/4H4/9/9/9/9 a9,b8,c7,d6,f4,g3,h2,i1,a1,b2,c3,d4,f6,g7,h8,i9,d5,e6,f5,e4:
121 figcaption Left: promoted rook. Right: promoted bishop.
122
123h3 More information
124
125p
126 | This game is very popular in Japan, so a lot of resources can be found
127 | online. A good starting point is the
128 a(href="https://www.pychess.org/variant/shogi") Shogi page
129 |  at pychess-variants, where you can also play, and / or the
130 a(href="https://en.wikipedia.org/wiki/Shogi") Wikipedia page
131 | .