Add web pages on rules of Chess variants
[xboard.git] / whats_new / rules / CWDA.html
1 <html>
2 <header>
3 <title>Chess with Different Armies</title>
4 <link rel=StyleSheet href="./moves.css" type="text/css">
5 <script type="text/javascript" src="cwda.js"></script>
6 </header>
7 <body>
8 <h1>Chess with Different Armies</h1>
9 <p>
10 This is actually a group of variants.
11 It defines a number of 'armies', each containing of an orthodox King and Pawns,
12 plus 7 other pieces of 4 different types.
13 The orthodox FIDE army, with pieces Q, R, B and N, is one example of this.
14 But there are many armies considting of four completely different pieces,
15 together of approximately equal strength as the FIDE army.
16 Here we discuss three possible realizations of this.
17 </p>
18 <p>
19 Each of these four armies can be pitted against each of the others,
20 with either color.
21 </p>
22 <table cellpadding="20"><tr><td>
23 <img src="Rookies.png">
24 </td><td>
25 <h3>Initial setup</h3>
26 <h4>Remarkable-Rookies army</h4>
27 <p>
28 e1, e8: King
29 <br>
30 d1, d8: Marshall
31 <br>
32 a1, a8, h1, h8: Short Rook
33 <br>
34 c1, c8, f1, f8: Half Duck
35 <br>
36 b1, b8, g1, g8: Woody
37 <br>
38 a2-h2, a7-h7: Pawns
39 </p>
40 <h4>Fabulous-FIDEs army</h4>
41 <p>
42 e1, e8: King
43 <br>
44 d1, d8: Queen
45 <br>
46 a1, a8, h1, h8: Rook
47 <br>
48 c1, c8, f1, f8: Bishop
49 <br>
50 b1, b8, g1, g8: Knight
51 <br>
52 a2-h2, a7-h7: Pawns
53 </p>
54 </td></tr><tr><td>
55 <img src="ClobNut.png">
56 </td><td>
57 <h4>Nutty-Knights army</h4>
58 <p>
59 e1, e8: King
60 <br>
61 d1, d8: Colonel
62 <br>
63 a1, a8, h1, h8: Turret
64 <br>
65 c1, c8, f1, f8: Unicorn
66 <br>
67 b1, b8, g1, g8: Horse
68 <br>
69 a2-h2, a7-h7: Pawns
70 </p>
71 <h4>Color-bound Cloberers army</h4>
72 <p>
73 e1, e8: King
74 <br>
75 d1, d8: ArchBishop
76 <br>
77 a1, a8, h1, h8: Leaping Bishop
78 <br>
79 c1, c8, f1, f8: Clobberer
80 <br>
81 b1, b8, g1, g8: Elephant
82 <br>
83 a2-h2, a7-h7: Pawns
84 </p>
85 </td></tr></table>
86
87
88 <h3>Moves at a Glance</h3>
89
90 <p>Click on a piece below to see its moves</p>
91
92 <table class="board"><tr><td class="h" id="0x9">
93
94      </td><td class="n" id="1x9" onmouseDown="down_click(1,9)" onmouseUp="up_click()">
95 <img src="sym/BlackRook.png">
96      </td><td class="n" id="2x9">
97
98      </td><td class="n" id="3x9">
99
100      </td><td class="n" id="4x9">
101
102      </td><td class="n" id="5x9" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
103 <img src="sym/BlackKing.png">
104      </td><td class="n" id="6x9">
105
106      </td><td class="n" id="7x9">
107
108      </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
109 <img src="sym/BlackRook.png">
110      </td><td class="h" id="9x9">
111
112      </td><td class="h">
113 <img src="sym/yellow.png">
114      </td><td class="w" rowspan="2" valign="top">
115 <p>Sliding capture or non-capture,<br>can be blocked on any square along the ray</p>
116 </td></tr><tr><td class="n" id="0x8">
117
118      </td><td class="n" id="1x8">
119
120      </td><td class="n" id="2x8">
121
122      </td><td class="n" id="3x8">
123
124      </td><td class="n" id="4x8">
125
126      </td><td class="n" id="5x8">
127
128      </td><td class="n" id="6x8">
129
130      </td><td class="n" id="7x8">
131
132      </td><td class="n" id="8x8">
133
134      </td><td class="n" id="9x8">
135
136 </td></tr><tr><td class="n" id="0x7">
137
138      </td><td class="n" id="1x7">
139
140      </td><td class="n" id="2x7">
141
142      </td><td class="n" id="3x7">
143
144      </td><td class="n" id="4x7">
145
146      </td><td class="n" id="5x7">
147
148      </td><td class="n" id="6x7">
149
150      </td><td class="n" id="7x7">
151
152      </td><td class="n" id="8x7">
153
154      </td><td class="n" id="9x7">
155
156      </td><td class="h">
157 <img src="sym/orange.png">
158      </td><td class="w">
159 Unblockable leap (capture or non-capture)
160 </td></tr><tr><td class="n" id="0x6">
161
162      </td><td class="n" id="1x6">
163
164      </td><td class="n" id="2x6">
165
166      </td><td class="n" id="3x6" onmouseDown="down_click(3,6)" onmouseUp="up_click()">
167 <img src="sym/BlackRook.png">
168      </td><td class="n" id="4x6" onmouseDown="down_click(4,6)" onmouseUp="up_click()">
169 <img src="sym/BlackKnight.png">
170      </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
171 <img src="sym/BlackQueen.png">
172      </td><td class="n" id="6x6" onmouseDown="down_click(6,6)" onmouseUp="up_click()">
173 <img src="sym/BlackBishop.png">
174      </td><td class="n" id="7x6" onmouseDown="down_click(7,6)" onmouseUp="up_click()">
175 <img src="sym/WhiteKing.png">
176      </td><td class="n" id="8x6">
177
178      </td><td class="n" id="9x6">
179
180      </td><td class="h">
181 <img src="sym/green.png">
182      </td><td class="w">
183 Non-capture only
184 </td></tr><tr><td class="n" id="0x5">
185
186      </td><td class="n" id="1x5">
187
188      </td><td class="n" id="2x5">
189
190      </td><td class="n" id="3x5" onmouseDown="down_click(3,5)" onmouseUp="up_click()">
191 <img src="sym/WhiteCobra.png">
192      </td><td class="n" id="4x5" onmouseDown="down_click(4,5)" onmouseUp="up_click()">
193 <img src="sym/WhiteHawk.png">
194      </td><td class="n" id="5x5" onmouseDown="down_click(5,5)" onmouseUp="up_click()">
195 <img src="sym/WhiteChancellor.png">
196      </td><td class="n" id="6x5" onmouseDown="down_click(6,5)" onmouseUp="up_click()">
197 <img src="sym/WhiteCrownedRook.png">
198      </td><td class="n" id="7x5">
199
200      </td><td class="n" id="8x5">
201
202      </td><td class="n" id="9x5">
203
204      </td><td class="h">
205 <img src="sym/red.png">
206      </td><td class="w">
207 Capture only
208 </td></tr><tr><td class="n" id="0x4">
209
210      </td><td class="n" id="1x4">
211
212      </td><td class="n" id="2x4">
213
214      </td><td class="n" id="3x4" onmouseDown="down_click(3,4)" onmouseUp="up_click()">
215 <img src="sym/BlackElephant.png">
216      </td><td class="n" id="4x4" onmouseDown="down_click(4,4)" onmouseUp="up_click()">
217 <img src="sym/BlackCrownedBishop.png">
218      </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
219 <img src="sym/BlackArchbishop.png">
220      </td><td class="n" id="6x4" onmouseDown="down_click(6,4)" onmouseUp="up_click()">
221 <img src="sym/BlackMarshall.png">
222      </td><td class="n" id="7x4">
223
224      </td><td class="n" id="8x4">
225
226      </td><td class="n" id="9x4">
227
228 </td></tr><tr><td class="n" id="0x3">
229
230      </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
231 <img src="sym/BlackPawn.png">
232      </td><td class="n" id="2x3" onmouseDown="down_click(2,3)" onmouseUp="up_click()">
233 <img src="sym/WhitePawn.png">
234      </td><td class="n" id="3x3" onmouseDown="down_click(3,3)" onmouseUp="up_click()">
235 <img src="sym/WhiteNightrider.png">
236      </td><td class="n" id="4x3" onmouseDown="down_click(4,3)" onmouseUp="up_click()">
237 <img src="sym/WhiteUnicorn.png">
238      </td><td class="n" id="5x3" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
239 <img src="sym/WhiteChancellor.png">
240      </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
241 <img src="sym/WhitePromoDragon.png">
242      </td><td class="n" id="7x3">
243
244      </td><td class="n" id="8x3">
245
246      </td><td class="n" id="9x3">
247
248 </td></tr><tr><td class="n" id="0x2">
249
250      </td><td class="n" id="1x2">
251
252      </td><td class="n" id="2x2">
253
254      </td><td class="n" id="3x2">
255
256      </td><td class="n" id="4x2">
257
258      </td><td class="n" id="5x2">
259
260      </td><td class="n" id="6x2">
261
262      </td><td class="n" id="7x2">
263
264      </td><td class="n" id="8x2">
265
266      </td><td class="n" id="9x2">
267
268 </td></tr><tr><td class="n" id="0x1">
269
270      </td><td class="n" id="1x1">
271
272      </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
273 <img src="sym/WhitePawn.png">
274      </td><td class="n" id="3x1">
275
276      </td><td class="n" id="4x1">
277
278      </td><td class="n" id="5x1">
279
280      </td><td class="n" id="6x1">
281
282      </td><td class="n" id="7x1">
283
284      </td><td class="n" id="8x1">
285
286      </td><td class="n" id="9x1">
287
288 </td></tr><tr><td class="h" id="0x0">
289
290      </td><td class="n" id="1x0" onmouseDown="down_click(1,0)" onmouseUp="up_click()">
291 <img src="sym/WhiteCrownedBishop.png">
292      </td><td class="n" id="2x0">
293
294      </td><td class="n" id="3x0">
295
296      </td><td class="n" id="4x0">
297
298      </td><td class="n" id="5x0" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
299 <img src="sym/WhiteKing.png">
300      </td><td class="n" id="6x0">
301
302      </td><td class="n" id="7x0">
303
304      </td><td class="n" id="8x0" onmouseDown="down_click(8,0)" onmouseUp="up_click()">
305 <img src="sym/WhiteCrownedBishop.png">
306      </td><td class="h" id="9x0">
307
308 </td></tr></table>
309
310 <p id="piece" height="20">:<br>:<br>:<br>:</p>
311
312 <table cellpadding="5" border="1"><tr><td>
313 Piece
314      </td><td>
315 ID
316      </td><td>
317 value
318      </td><td>
319 Moves (<a href="Betza.html">Betza notation</a>)
320      </td><td>
321 Remarks
322 </td></tr><tr><td colspan="5">
323 <b>Common to all armies</b>
324 </td></tr><tr><td>
325 King
326      </td><td>
327 K
328      </td><td>
329 -
330      </td><td>
331 K
332      </td><td>
333 Can castle with corner piece
334 </td></tr><tr><td>
335 Pawn
336      </td><td>
337 P
338      </td><td>
339 1
340      </td><td>
341 mfWcfF
342      </td><td>
343 Promotes to any piece specific to the army on reaching last rank
344 </td></tr><tr><td colspan="5">
345 <b>FIDE army<b>
346 </td></tr><tr><td>
347 Queen
348      </td><td>
349 Q
350      </td><td>
351 9.5
352      </td><td>
353 RB or Q
354      </td><td>
355
356 </td></tr><tr><td>
357 Rook
358      </td><td>
359 R
360      </td><td>
361 5
362      </td><td>
363 R
364      </td><td>
365
366 </td></tr><tr><td>
367 Bishop
368      </td><td>
369 B
370      </td><td>
371 3.25
372      </td><td>
373 B
374      </td><td>
375 Color-bound
376 </td></tr><tr><td>
377 Knight
378      </td><td>
379 N
380      </td><td>
381 3.25
382      </td><td>
383 N
384      </td><td>
385
386 </td></tr><tr><td colspan="5">
387 <b>Clobberers army<b>
388 </td></tr><tr><td>
389 Archbishop
390      </td><td>
391 A
392      </td><td>
393 8.75
394      </td><td>
395 BN
396      </td><td>
397
398 </td></tr><tr><td>
399 Leaping Bishop
400      </td><td>
401 L
402      </td><td>
403 5
404      </td><td>
405 BD
406      </td><td>
407 Color-bound
408 </td></tr><tr><td>
409 Clobberer
410      </td><td>
411 C
412      </td><td>
413 4.5
414      </td><td>
415 FAD
416      </td><td>
417 Color-bound
418 </td></tr><tr><td>
419 Elephant
420      </td><td>
421 E
422      </td><td>
423 3
424      </td><td>
425 WA
426      </td><td>
427
428 </td></tr><tr><td colspan="5">
429 <b>Nutters army<b>
430 </td></tr><tr><td>
431 Colonel
432      </td><td>
433 C
434      </td><td>
435 9.5
436      </td><td>
437 fRsRKfhN
438      </td><td>
439
440 </td></tr><tr><td>
441 Turret
442      </td><td>
443 T
444      </td><td>
445 5
446      </td><td>
447 bKfsR
448      </td><td>
449
450 </td></tr><tr><td>
451 Unicorn
452      </td><td>
453 B
454      </td><td>
455 3.75
456      </td><td>
457 fhNbsK
458      </td><td>
459
460 </td></tr><tr><td>
461 Horse
462      </td><td>
463 H
464      </td><td>
465 3
466      </td><td>
467 FbbNffN
468      </td><td>
469
470 </td></tr><tr><td colspan="5">
471 <b>Rookies army<b>
472 </td></tr><tr><td>
473 Marshall
474      </td><td>
475 M
476      </td><td>
477 9
478      </td><td>
479 RN
480      </td><td>
481
482 </td></tr><tr><td>
483 Short Rook
484      </td><td>
485 S
486      </td><td>
487 4.5
488      </td><td>
489 R4
490      </td><td>
491
492 </td></tr><tr><td>
493 Half Duck
494      </td><td>
495 B
496      </td><td>
497 4
498      </td><td>
499 HFD
500      </td><td>
501
502 </td></tr><tr><td>
503 Woody
504      </td><td>
505 W
506      </td><td>
507 3
508      </td><td>
509 WD
510      </td><td>
511
512 </td></tr></table>
513 <h3>Pawn peculiarities</h3>
514 <ul>
515 <li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
516 <li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
517 <li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
518 as if they had only moved 1 square ahead.</li>
519 <li>Pawns promote to another (non-royal) piece of choice <b>from their own army</b> when they reach last rank.</li>
520 </ul>
521 <h3>Castling</h3>
522 <p>
523 A King that has not moved before can (in general) move two squares in the direction of a corner piece that has not moved before,
524 in which case that corner piece is moved to the square next to the King on the other side.
525 This is only allowed if all squares traveled through by King and corner piece are empty (after their removal),
526 when the King is not in check on the square it came from,
527 and would not be in check on any of the squares it skipped over.
528 When the corner piece is color-bound, however, the King moves 2 <b>or 3 squares</b>, subject to all other rules mentioned above,
529 to make sure the piece it castles with stays on the same color.
530 </p>
531 <h3>General rules</h3>
532 <ul>
533 <li>Any army can be pitted against any other.</li>
534 <li>It is not allowed to expose your King to check.</li>
535 <li>The game is won by checkmating the opponent's King.</li>
536 <li>Stalemate (no legal moves, but not in check) is a draw.</li>
537 </ul>
538 <h3>XBoard interface issues</h3>
539 <p>
540 Man of the pieces in the various army are quite exotic even by the standards of Chess variants,
541 and XBoard does not know them.
542 So Chess with different Armies has to be played with legality testing off,
543 using pieces XBoard does implement for different purposes.
544 CwDA is also not an variant name known to XBoard;
545 it has to be played as the catch-all variant 'fairy'.
546 This variant can mean anything as far as XBoard is concerned;
547 you have to tell the engine what you actually want to play,
548 and then the engine will tell it to XBoard (i.e. which piece symbols to use, in which initial setup).
549 So CwDA cannot be played without an engine that knows how to play it.
550 </p>
551 <p>
552 Fairy-Max implements various versions of CwDA.
553 With a combobox in the Engine Settings dialog you can select which version you want to play
554 (e.g. Clobberers-Nutters) as variant fairy.
555 When you then select 'fairy' from the New Variant dialog
556 (or start a New Game when 'fairy' was already selected)
557 the engine will setup the game for the selected armies.
558 </p>
559 <h3>Differences with FIDE</h3>
560 <p>
561 Except for the FIDE army, all armies consist of pieces (not King and Pawns) that move in completely different ways.
562 </p>
563 <h3>Strategy issues</h3>
564 <p>
565 It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
566 Two Knights cannot do that either.
567 It is not possible to force checkmate on a bare King with just a single Elephant or C or L (in addition to your own King).
568 A pair CC, LL or CL on unlike colors can force checkmate without help of their King.
569 A pair of Elephants can checkmate with help of their King.
570 It is not possible to force checkmate on a bare King with just a single Fibnif or a pair of them (in addition to your own King).
571 All pieces of the Rookies army can force checkmate against a bare King.
572 </p>
573 <p>
574 Bishops, C and L are confined to squares of a single color.
575 Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
576 Combining other color-bound pieces on unlike colors is expected to involve even larger bonuses.
577 </p>
578 <p>
579 </p>
580 <p>
581 </p>
582 <p>
583 </p>
584 <p>
585 </p>
586 <p>
587 </p>
588 </body>
589 </html>