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