Add web pages on rules of Chess variants
[xboard.git] / whats_new / rules / Mini.html
1 <html>
2 <header>
3 <title>mini-Shogi</title>
4 <link rel=StyleSheet href="./moves.css" type="text/css">
5 <script type="text/javascript" src="chu.js"></script>
6 </header>
7 <body>
8 <h1>mini-Shogi (Diamond Quest)</h1>
9 <table cellpadding="20"><tr><td>
10 <img src="Mini.png">
11 </td><td>
12 <h3>Initial setup</h3>
13 <p>
14 a1, e5: King
15 <br>
16 e1, a5: Rook
17 <br>
18 d1, hb5: Bishop
19 <br>
20 b1, d5: Gold General
21 <br>
22 c1, c5: Silver General
23 <br>
24 a2, e4: Pawn
25 </p>
26 </td></tr></table>
27
28 <h3>Moves at a Glance</h3>
29
30 <p>Click on a piece below to see its moves</p>
31
32 <table class="board"><tr><td class="n" id="0x9">
33
34      </td><td class="n" id="1x9">
35
36      </td><td class="n" id="2x9">
37
38      </td><td class="n" id="3x9">
39
40      </td><td class="n" id="4x9">
41
42      </td><td class="n" id="5x9">
43
44      </td><td class="n" id="6x9">
45
46      </td><td class="n" id="7x9">
47
48      </td><td class="n" id="8x9">
49
50      </td><td class="n" id="9x9">
51
52 </td></tr><tr><td class="n" id="0x8">
53
54      </td><td class="n" id="1x8">
55
56      </td><td class="n" id="2x8">
57
58      </td><td class="n" id="3x8">
59
60      </td><td class="n" id="4x8">
61
62      </td><td class="n" id="5x8">
63
64      </td><td class="n" id="6x8">
65
66      </td><td class="n" id="7x8">
67
68      </td><td class="n" id="8x8">
69
70      </td><td class="n" id="9x8">
71
72 </td></tr><tr><td class="n" id="0x7">
73
74      </td><td class="n" id="1x7">
75
76      </td><td class="n" id="2x7">
77
78      </td><td class="n" id="3x7" onmouseDown="down_click(3,7)" onmouseUp="up_click()">
79 <img src="sym/WhiteGold.png">
80      </td><td class="n" id="4x7" onmouseDown="down_click(4,7)" onmouseUp="up_click()">
81 <img src="sym/WhiteAdvisor.png">
82      </td><td class="n" id="5x7">
83
84      </td><td class="n" id="6x7">
85
86      </td><td class="n" id="7x7">
87
88      </td><td class="n" id="8x7">
89
90      </td><td class="n" id="9x7">
91
92 </td></tr><tr><td class="n" id="0x6">
93
94      </td><td class="n" id="1x6">
95
96      </td><td class="n" id="2x6">
97
98      </td><td class="n" id="3x6">
99
100      </td><td class="n" id="4x6">
101
102      </td><td class="n" id="5x6">
103
104      </td><td class="n" id="6x6" onmouseDown="down_click(6,6)" onmouseUp="up_click()">
105 <img src="sym/WhiteKing.png">
106      </td><td class="n" id="7x6">
107
108      </td><td class="n" id="8x6">
109
110      </td><td class="n" id="9x6">
111
112 </td></tr><tr><td class="n" id="0x5">
113
114      </td><td class="n" id="1x5">
115
116      </td><td class="n" id="2x5">
117
118      </td><td class="n" id="3x5">
119
120      </td><td class="n" id="4x5">
121
122      </td><td class="n" id="5x5">
123
124      </td><td class="n" id="6x5" onmouseDown="down_click(6,5)" onmouseUp="up_click()">
125 <img src="sym/WhiteCrownedRook.png">
126      </td><td class="n" id="7x5" onmouseDown="down_click(7,5)" onmouseUp="up_click()">
127 <img src="sym/WhiteRook.png">
128      </td><td class="n" id="8x5">
129
130      </td><td class="n" id="9x5">
131
132 </td></tr><tr><td class="n" id="0x4">
133
134      </td><td class="n" id="1x4">
135
136      </td><td class="n" id="2x4">
137
138      </td><td class="n" id="3x4">
139
140      </td><td class="n" id="4x4">
141
142      </td><td class="n" id="5x4">
143
144      </td><td class="n" id="6x4" onmouseDown="down_click(6,4)" onmouseUp="up_click()">
145 <img src="sym/WhiteCrownedBishop.png">
146      </td><td class="n" id="7x4" onmouseDown="down_click(7,4)" onmouseUp="up_click()">
147 <img src="sym/WhiteBishop.png">
148      </td><td class="n" id="8x4">
149
150      </td><td class="n" id="9x4">
151
152 </td></tr><tr><td class="n" id="0x3">
153
154      </td><td class="n" id="1x3">
155
156      </td><td class="n" id="2x3">
157
158      </td><td class="n" id="3x3">
159
160      </td><td class="n" id="4x3">
161
162      </td><td class="n" id="5x3">
163
164      </td><td class="n" id="6x3">
165
166      </td><td class="n" id="7x3">
167
168      </td><td class="n" id="8x3">
169
170      </td><td class="n" id="9x3">
171
172 </td></tr><tr><td class="n" id="0x2">
173
174      </td><td class="n" id="1x2">
175
176      </td><td class="n" id="2x2">
177
178      </td><td class="n" id="3x2">
179
180      </td><td class="n" id="4x2">
181
182      </td><td class="n" id="5x2">
183
184      </td><td class="n" id="6x2" onmouseDown="down_click(6,2)" onmouseUp="up_click()">
185 <img src="sym/WhitePawn.png">
186      </td><td class="n" id="7x2">
187
188      </td><td class="n" id="8x2">
189
190      </td><td class="n" id="9x2">
191
192 </td></tr><tr><td class="n" id="0x1">
193
194      </td><td class="n" id="1x1">
195
196      </td><td class="n" id="2x1">
197
198      </td><td class="n" id="3x1">
199
200      </td><td class="n" id="4x1">
201
202      </td><td class="n" id="5x1">
203
204      </td><td class="n" id="6x1">
205
206      </td><td class="n" id="7x1">
207
208      </td><td class="n" id="8x1">
209
210      </td><td class="n" id="9x1">
211
212 </td></tr><tr><td class="n" id="0x0">
213
214      </td><td class="n" id="1x0">
215
216      </td><td class="n" id="2x0">
217
218      </td><td class="n" id="3x0">
219
220      </td><td class="n" id="4x0">
221
222      </td><td class="n" id="5x0">
223
224      </td><td class="n" id="6x0">
225
226      </td><td class="n" id="7x0">
227
228      </td><td class="n" id="8x0">
229
230      </td><td class="n" id="9x0">
231
232 </td></tr></table>
233
234 <p id="piece" height="20">:<br>:<br>:<br>:</p>
235
236 <table cellpadding="5" border="1"><tr><td>
237 Piece
238      </td><td>
239 ID
240      </td><td>
241 value
242      </td><td>
243 Moves (<a href="Betza.html">Betza notation</a>)
244      </td><td>
245 Remarks
246 </td></tr><tr><td>
247 King
248      </td><td>
249 K
250      </td><td>
251 -
252      </td><td>
253 WF
254      </td><td>
255
256 </td></tr><tr><td>
257 Rook
258      </td><td>
259 R
260      </td><td>
261 5
262      </td><td>
263 WW
264      </td><td>
265 Promotes tp Dragon
266 </td></tr><tr><td>
267 Bishop
268      </td><td>
269 B
270      </td><td>
271 4
272      </td><td>
273 FF
274      </td><td>
275 Promotes to Horse
276 </td></tr><tr><td>
277 Gold
278      </td><td>
279 G
280      </td><td>
281 4
282      </td><td>
283 WfF
284      </td><td>
285
286 </td></tr><tr><td>
287 Silver
288      </td><td>
289 S
290      </td><td>
291 3.5
292      </td><td>
293 FfW
294      </td><td>
295 promotes to Gold
296 </td></tr><tr><td>
297 Pawn
298      </td><td>
299 P
300      </td><td>
301 1
302      </td><td>
303 fW
304      </td><td>
305 promotes to Gold
306 </td></tr><tr><td colspan="5">
307 Promoted pieces (not initially present)
308 </td></tr><tr><td>
309 Dragon
310      </td><td>
311 D or +R
312      </td><td>
313 6
314      </td><td>
315 RF
316      </td><td>
317
318 </td></tr><tr><td>
319 Horse
320      </td><td>
321 H or +B
322      </td><td>
323 5
324      </td><td>
325 BW
326      </td><td>
327
328 </td></tr></table>
329 <h3>Pawn peculiarities</h3>
330 <ul>
331 <li>Pawns move <b>and capture</b> straight ahead.</li>
332 <li>It is forbidded to have more than one Pawn in the same file.</li>
333 <li>It is forbidden to checkmate the opponent with a Pawn drop.</p>
334 </ul>
335 <h3>General rules</h3>
336 <ul>
337 <li>The game is won by capturing the opponent's King.</li>
338 <li>Pieces captured change color, and are kept in hand by the side who captured them.
339 In stead of a normal move, such pieces can be dropped at any later time.</li>
340 <li>Pieces cannot be moved or dropped to a location where all their moves would go off board.</li>
341 <li>Pieces optionally promote at the end of a move into, in or out of the promotion zone.</li>
342 <li>The promotion zone consists of the last rank.</li>
343 <li>Pieces obtained by promotion revert to their original form on capture.</li>
344 <li>Perpetual checking is forbidden, and would be ruled a loss on the 4-fold repeat.</li>
345 <li><b>On other 4-fold repetitions white loses.</b></li>
346 </ul>
347 <h3>XBoard interface issues</h3>
348 <p>
349 Mini-Shogi is (not yet) a standard variant in XBoard.
350 It has to be played in XBoard by selecting regular Shogi
351 after having set the board- and holdings-size overrides in the New Variant dialog all to 5
352 (i.e. 5x5 board, and holdings for 5 piece types).
353 This is not all, however; the pieceToCharTable has to be changed to tell XBoard that the Lance and Knight do not participate.
354 (In regular Shogi they would, but here they would push Silver and Gold out of the holdings!)
355 This can unfortunately only be done through command-line options.
356 </p>
357 <p>
358 It is therefore best to put all options needed to massage XBoard into playing this variant in a settings file mini.xop.
359 On install .xop files are associated with XBoard, so clicking them would start XBoard with the options in that file.
360 You could then set everything in the file needed to start in mini-Shogi mode:
361 <pre>
362 -variant shogi
363 -boardHeight 5
364 -boardWidth 5
365 -holdingsSize 5
366 -pieceToCharTable "P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k"
367 </pre>
368 Since the game is just a subset of regular Shogi, legality testing can remain on.
369 You could also specify your favorite mini-Shogi engine with -fcp in that file.
370 </p>
371 <p>
372 You can drop pieces by dragging them onto the board from the holdings displayed beside the board.
373 </p>
374 <p>
375 Of course there will always be people that prefer an oriental look, with pentagonal kanji tiles.
376 XBoard comes with a set of kanji pieces in the 'themes/shogi' sub-directory of its data directory
377 (e.g. /usr/local/share/games/xboard).
378 You can select that as -pieceImageDirectory (-pid for short) from the command line, or from the View -> Board dialog.
379 You would also have to tick 'Flip black pieces Shogi style' there (or use the option <b>-flipBlack true</b>)
380 to make sure the pieces won't go upside down when you flip the view.
381 </p>
382 <h3>Differences with FIDE</h3>
383 <p>
384 In stead of Queens you have Silver and Gold Generals.
385 Pawns capture straight ahead.
386 Captured pieces can later be dropped to augment the army of their capturer.
387 There is no castling, Pawn double-push or e.p. capture.
388 </p>
389 <h3>Strategy issues</h3>
390 <p>
391 Because pieces are dropped back, there will not be a traditional end-game.
392 Trading material does not constitute progress towards winning, even when you are ahead.
393 </p>
394 <p>
395 Because Gold Generals obtained through promotion revert to their original form on capture,
396 they are really different piece types from the primordial Golds that move the same.
397 In notation they are therefore not indicated as 'G', but as the ID of the original piece prefixed with a '+'.
398 Especially the promoted Pawn (aka Tokin) is more valuable: it is much better to lose a Gold that gives the opponent a Pawn in hand,
399 than to lose a Gold that gives him a Gold in hand.
400 </p>
401 <p>
402 It is a big advantage to have a General on the central square.
403 </p>
404 <p>
405 Pieces in hand are in general worth more than on the board, as they are much more mobile.
406 And you can drop them in the promotion for an easy promotion on the next turn.
407 But pieces in hand cannot capture anything, and don't guard your promotion zone.
408 </p>
409 <p>
410 </p>
411 <p>
412 </p>
413 </body>
414 </html>