run tidy over html files; added include for gnu pages
[xboard.git] / whats_new / rules / Shogi.html
1 <!--#include virtual="/server/html5-header.html" -->
2   <title>Shogi</title>
3   <link rel="StyleSheet" href="./moves.css" type="text/css">
4   <script type="text/javascript" src="chu.js">
5 </script>
6 <!--#include virtual="/server/banner.html" -->
7 <!--#set var="article_name" value="/server/standards/boilerplate" -->
8 <!--#include virtual="/server/gnun/initial-translations-list.html" -->
9
10   <h1>Shogi (Japanese Chess)</h1>
11
12   <p>Shogi (literally meaning 'Generals Game') is highly popular in
13   Japan, and is the World's third major Chess variant, after
14   Xiangqi and FIDE. Draws hardly occur, because there rule that
15   captured pieces can be dropped back on the board ensures the game
16   can go on until a decision is reached. Historically, it are these
17   piece drops that have won the game its popularity; the dropless
18   version, Sho Shogi (= small Shogi) was overwhelmed in popularity
19   by the also dropless Chu Shogi (= middle Shogi).</p>
20
21   <table cellpadding="20">
22     <tr>
23       <td><img src="Shogi.png"></td>
24
25       <td>
26         <h3>Initial setup</h3>
27
28         <p>e1, e8: King<br>
29         b8, h2: Rook<br>
30         b2, h8: Bishop<br>
31         d1, d8, f1, f8: Gold General<br>
32         c1, c8, g1, g8: Silver General<br>
33         b1, b8, h1, h8: (Shogi) Knight<br>
34         a1, a8, i1, i8: Lance<br>
35         a3-i3, a7-i7: Pawns</p>
36       </td>
37     </tr>
38   </table>
39
40   <h3>Moves at a Glance</h3>
41
42   <p>Click on a piece below to see its moves</p>
43
44   <table class="board">
45     <tr>
46       <td class="n"></td>
47
48       <td class="n" id="sq1x9"></td>
49
50       <td class="n" id="sq2x9"></td>
51
52       <td class="n" id="sq3x9"></td>
53
54       <td class="n" id="sq4x9"></td>
55
56       <td class="n" id="sq5x9"></td>
57
58       <td class="n" id="sq6x9"></td>
59
60       <td class="n" id="sq7x9"></td>
61
62       <td class="n" id="sq8x9"></td>
63
64       <td class="n" id="sq9x9"></td>
65     </tr>
66
67     <tr>
68       <td class="n" id="sq0x8"></td>
69
70       <td class="n" id="sq1x8"></td>
71
72       <td class="n" id="sq2x8"></td>
73
74       <td class="n" id="sq3x8"></td>
75
76       <td class="n" id="sq4x8"></td>
77
78       <td class="n" id="sq5x8"></td>
79
80       <td class="n" id="sq6x8"></td>
81
82       <td class="n" id="sq7x8"></td>
83
84       <td class="n" id="sq8x8"></td>
85
86       <td class="n" id="sq9x8"></td>
87     </tr>
88
89     <tr>
90       <td class="n" id="sq0x7"></td>
91
92       <td class="n" id="sq1x7"></td>
93
94       <td class="n" id="sq2x7"></td>
95
96       <td class="n" id="sq3x7" onmousedown="down_click(3,7)"
97       onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
98
99       <td class="n" id="sq4x7" onmousedown="down_click(4,7)"
100       onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
101
102       <td class="n" id="sq5x7"></td>
103
104       <td class="n" id="sq6x7"></td>
105
106       <td class="n" id="sq7x7"></td>
107
108       <td class="n" id="sq8x7"></td>
109
110       <td class="n" id="sq9x7"></td>
111     </tr>
112
113     <tr>
114       <td class="n" id="sq0x6"></td>
115
116       <td class="n" id="sq1x6"></td>
117
118       <td class="n" id="sq2x6"></td>
119
120       <td class="n" id="sq3x6"></td>
121
122       <td class="n" id="sq4x6"></td>
123
124       <td class="n" id="sq5x6"></td>
125
126       <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
127       onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
128
129       <td class="n" id="sq7x6" onmousedown="down_click(7,0)"
130       onmouseup="up_click()"></td>
131
132       <td class="n" id="sq8x6"></td>
133
134       <td class="n" id="sq9x6"></td>
135     </tr>
136
137     <tr>
138       <td class="n" id="sq0x5"></td>
139
140       <td class="n" id="sq1x5"></td>
141
142       <td class="n" id="sq2x5"></td>
143
144       <td class="n" id="sq3x5"></td>
145
146       <td class="n" id="sq4x5"></td>
147
148       <td class="n" id="sq5x5"></td>
149
150       <td class="n" id="sq6x5" onmousedown="down_click(6,5)"
151       onmouseup="up_click()"><img src=
152       "sym/WhiteCrownedRook.png"></td>
153
154       <td class="n" id="sq7x5" onmousedown="down_click(7,5)"
155       onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
156
157       <td class="n" id="sq8x5"></td>
158
159       <td class="n" id="sq9x5"></td>
160     </tr>
161
162     <tr>
163       <td class="n" id="sq0x4"></td>
164
165       <td class="n" id="sq1x4"></td>
166
167       <td class="n" id="sq2x4"></td>
168
169       <td class="n" id="sq3x4"></td>
170
171       <td class="n" id="sq4x4"></td>
172
173       <td class="n" id="sq5x4"></td>
174
175       <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
176       onmouseup="up_click()"><img src=
177       "sym/WhiteCrownedBishop.png"></td>
178
179       <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
180       onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
181
182       <td class="n" id="sq8x4"></td>
183
184       <td class="n" id="sq9x4"></td>
185     </tr>
186
187     <tr>
188       <td class="n" id="sq0x3"></td>
189
190       <td class="n" id="sq1x3"></td>
191
192       <td class="n" id="sq2x3"></td>
193
194       <td class="n" id="sq3x3"></td>
195
196       <td class="n" id="sq4x3"></td>
197
198       <td class="n" id="sq5x3"></td>
199
200       <td class="n" id="sq6x3"></td>
201
202       <td class="n" id="sq7x3"></td>
203
204       <td class="n" id="sq8x3"></td>
205
206       <td class="n" id="sq9x3"></td>
207     </tr>
208
209     <tr>
210       <td class="n" id="sq0x2"></td>
211
212       <td class="n" id="sq1x2"></td>
213
214       <td class="n" id="sq2x2"></td>
215
216       <td class="n" id="sq3x2" onmousedown="down_click(3,2)"
217       onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
218
219       <td class="n" id="sq4x2" onmousedown="down_click(4,2)"
220       onmouseup="up_click()"><img src="sym/WhiteLance.png"></td>
221
222       <td class="n" id="sq5x2"></td>
223
224       <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
225       onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
226
227       <td class="n" id="sq7x2"></td>
228
229       <td class="n" id="sq8x2"></td>
230
231       <td class="n" id="sq9x2"></td>
232     </tr>
233
234     <tr>
235       <td class="n" id="sq0x1"></td>
236
237       <td class="n" id="sq1x1"></td>
238
239       <td class="n" id="sq2x1"></td>
240
241       <td class="n" id="sq3x1"></td>
242
243       <td class="n" id="sq4x1"></td>
244
245       <td class="n" id="sq5x1"></td>
246
247       <td class="n" id="sq6x1"></td>
248
249       <td class="n" id="sq7x1"></td>
250
251       <td class="n" id="sq8x1"></td>
252
253       <td class="n" id="sq9x1"></td>
254     </tr>
255
256     <tr>
257       <td class="n" id="sq0x0"></td>
258
259       <td class="n" id="sq1x0"></td>
260
261       <td class="n" id="sq2x0"></td>
262
263       <td class="n" id="sq3x0"></td>
264
265       <td class="n" id="sq4x0"></td>
266
267       <td class="n" id="sq5x0"></td>
268
269       <td class="n" id="sq6x0"></td>
270
271       <td class="n" id="sq7x0"></td>
272
273       <td class="n" id="sq8x0"></td>
274
275       <td class="n" id="sq9x0"></td>
276     </tr>
277   </table>
278
279   <p id="piece" height="20">:<br>
280   :<br>
281   :<br>
282   :</p>
283
284   <table cellpadding="5" border="1">
285     <tr>
286       <td>Piece</td>
287
288       <td>ID</td>
289
290       <td>value</td>
291
292       <td>Moves (<a href="Betza.html">Betza notation</a>)</td>
293
294       <td>Remarks</td>
295     </tr>
296
297     <tr>
298       <td>King</td>
299
300       <td>K</td>
301
302       <td>-</td>
303
304       <td>K</td>
305
306       <td></td>
307     </tr>
308
309     <tr>
310       <td>Rook</td>
311
312       <td>R</td>
313
314       <td>15</td>
315
316       <td>R</td>
317
318       <td>Promotes to Dragon</td>
319     </tr>
320
321     <tr>
322       <td>Bishop</td>
323
324       <td>B</td>
325
326       <td>13</td>
327
328       <td>B</td>
329
330       <td>Promotes to Horse</td>
331     </tr>
332
333     <tr>
334       <td>Gold</td>
335
336       <td>G</td>
337
338       <td>9</td>
339
340       <td>WfF</td>
341
342       <td></td>
343     </tr>
344
345     <tr>
346       <td>Silver</td>
347
348       <td>S</td>
349
350       <td>8</td>
351
352       <td>FfW</td>
353
354       <td>promotes to Gold</td>
355     </tr>
356
357     <tr>
358       <td>Knight</td>
359
360       <td>N</td>
361
362       <td>6</td>
363
364       <td>fN</td>
365
366       <td>promotes to Gold</td>
367     </tr>
368
369     <tr>
370       <td>Lance</td>
371
372       <td>L</td>
373
374       <td>5</td>
375
376       <td>fN</td>
377
378       <td>promotes to Gold</td>
379     </tr>
380
381     <tr>
382       <td>Pawn</td>
383
384       <td>P</td>
385
386       <td>1</td>
387
388       <td>fW</td>
389
390       <td>promotes to Gold</td>
391     </tr>
392
393     <tr>
394       <td colspan="5">Promoted pieces (not initially present)</td>
395     </tr>
396
397     <tr>
398       <td>Dragon</td>
399
400       <td>D or +R</td>
401
402       <td>18</td>
403
404       <td>RF</td>
405
406       <td></td>
407     </tr>
408
409     <tr>
410       <td>Horse</td>
411
412       <td>H or +B</td>
413
414       <td>15.5</td>
415
416       <td>BW</td>
417
418       <td></td>
419     </tr>
420   </table>
421
422   <h3>Pawn peculiarities</h3>
423
424   <ul>
425     <li>Pawns move <b>and capture</b> straight ahead.</li>
426
427     <li>It is forbidded to have more than one Pawn in the same
428     file.</li>
429
430     <li>It is forbidden to checkmate the opponent with a Pawn
431     drop.</li>
432   </ul>
433
434   <h3>General rules</h3>
435
436   <ul>
437     <li>The game is won by capturing the opponent's King.</li>
438
439     <li>Pieces captured change color, and are kept in hand by the
440     side who captured them. In stead of a normal move, such pieces
441     can be dropped at any later time.</li>
442
443     <li>Pieces cannot be moved or dropped to a location where all
444     their moves would go off board.</li>
445
446     <li>Pieces promote at the end of a move into, in or out of the
447     promotion zone.</li>
448
449     <li>The promotion zone consists of the last three ranks.</li>
450
451     <li>Pieces obtained by promotion revert to their original form
452     on capture.</li>
453
454     <li>Perpetual checking is forbidden, and would be ruled a loss
455     on the 4-fold repeat.</li>
456   </ul>
457
458   <h3>XBoard interface issues</h3>
459
460   <p>You can drop pieces by dragging them onto the board from the
461   holdings displayed beside the board.</p>
462
463   <p>Of course there will always be people that prefer an oriental
464   look, with pentagonal kanji tiles. XBoard comes with a set of
465   kanji pieces in the 'themes/shogi' sub-directory of its data
466   directory (e.g. /usr/local/share/games/xboard). You can select
467   that as -pieceImageDirectory (-pid for short) from the command
468   line, or from the View -&gt; Board dialog. You would also have to
469   tick 'Flip black pieces Shogi style' there (or use the option
470   <b>-flipBlack true</b>) to make sure the pieces won't go upside
471   down when you flip the view.</p>
472
473   <h3>Differences with FIDE</h3>
474
475   <p>In stead of Queens you have Silver and Gold Generals, and
476   Lances. The Knight only has the two forward-most moves of a FIDE
477   Knight. Pawns capture straight ahead. Captured pieces can later
478   be dropped to augment the army of their capturer. There is no
479   castling, Pawn double-push or e.p. capture. Other pieces than
480   Pawns also promote. The promotion zone is three ranks deep in
481   stead of one.</p>
482
483   <h3>Strategy issues</h3>
484
485   <p>Because pieces are dropped back, there will not be a
486   traditional end-game. Trading material does not constitute
487   progress towards winning, even when you are ahead.</p>
488
489   <p>Because Gold Generals obtained through promotion revert to
490   their original form on capture, they are really different piece
491   types from the primordial Golds that move the same. In notation
492   they are therefore not indicated as 'G', but as the ID of the
493   original piece prefixed with a '+'. Especially the promoted Pawn
494   (aka Tokin) is more valuable: it is much better to lose a Gold
495   that gives the opponent a Pawn in hand, than to lose a Gold that
496   gives him a Gold in hand.</p>
497
498   <p>Most pieces are quite slow, or not manoeuvrable at all, and
499   their practical value is very dependent on how far they are from
500   the Kings.</p>
501
502   <p>Pieces in hand are in general worth more than on the board, as
503   they are much more mobile. And you can drop them in the promotion
504   for an easy promotion on the next turn. But pieces in hand cannot
505   capture anything, and don't guard your promotion zone.</p>
506 </div><!-- for id="content", starts in the include above -->
507 <!--#include virtual="/server/footer.html" -->
508 </body>
509 </html>