run tidy over html files; added include for gnu pages
[xboard.git] / whats_new / rules / Janus.html
1 <!--#include virtual="/server/html5-header.html" -->
2   <title>Janus Chess</title>
3   <link rel="StyleSheet" href="./moves.css" type="text/css">
4   <script type="text/javascript" src="spartan.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>Janus Chess</h1>
11
12   <table cellpadding="20">
13     <tr>
14       <td><img src="Janus.png"></td>
15
16       <td>
17         <h3>Initial setup</h3>
18
19         <p>e1, e8: King<br>
20         f1, f8: Queen<br>
21         b1, b8, i1, i8: Janus<br>
22         a1, a8, j1, j8: Rook<br>
23         d1, d8, g1, g8: Bishop<br>
24         c1, c8, h1, h8: Knight<br>
25         a2-j2, a7-j7: Pawns</p>
26       </td>
27     </tr>
28   </table>
29
30   <h3>Moves at a Glance</h3>
31
32   <p>Click on a piece below to see its moves</p>
33
34   <table class="board">
35     <tr>
36       <td class="n" id="sq0x9" onmousedown="down_click(2,9)"
37       onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
38
39       <td class="n" id="sq1x9"></td>
40
41       <td class="n" id="sq2x9"></td>
42
43       <td class="n" id="sq3x9"></td>
44
45       <td class="n" id="sq4x9" onmousedown="down_click(-4,9)"
46       onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
47
48       <td class="n" id="sq5x9"></td>
49
50       <td class="n" id="sq6x9"></td>
51
52       <td class="n" id="sq7x9"></td>
53
54       <td class="n" id="sq8x9"></td>
55
56       <td class="n" id="sq9x9" onmousedown="down_click(-9,9)"
57       onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
58
59       <td class="h"><img src="sym/yellow.png"></td>
60
61       <td class="w" rowspan="2" valign="top">
62         <p>Sliding capture or non-capture,<br>
63         can be blocked on any square along the ray</p>
64       </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"></td>
97
98       <td class="n" id="sq4x7"></td>
99
100       <td class="n" id="sq5x7"></td>
101
102       <td class="n" id="sq6x7"></td>
103
104       <td class="n" id="sq7x7"></td>
105
106       <td class="n" id="sq8x7"></td>
107
108       <td class="n" id="sq9x7"></td>
109
110       <td class="h"><img src="sym/orange.png"></td>
111
112       <td class="w">Unblockable leap (capture or non-capture)</td>
113     </tr>
114
115     <tr>
116       <td class="n" id="sq0x6"></td>
117
118       <td class="n" id="sq1x6"></td>
119
120       <td class="n" id="sq2x6"></td>
121
122       <td class="n" id="sq3x6"></td>
123
124       <td class="n" id="sq4x6"></td>
125
126       <td class="n" id="sq5x6" onmousedown="down_click(-5,-6)"
127       onmouseup="up_click()"><img src=
128       "sym/WhiteArchbishop.png"></td>
129
130       <td class="n" id="sq6x6"></td>
131
132       <td class="n" id="sq7x6"></td>
133
134       <td class="n" id="sq8x6"></td>
135
136       <td class="n" id="sq9x6"></td>
137
138       <td class="h"><img src="sym/green.png"></td>
139
140       <td class="w">Non-capture only</td>
141     </tr>
142
143     <tr>
144       <td class="n" id="sq0x5"></td>
145
146       <td class="n" id="sq1x5"></td>
147
148       <td class="n" id="sq2x5"></td>
149
150       <td class="n" id="sq3x5"></td>
151
152       <td class="n" id="sq4x5"></td>
153
154       <td class="n" id="sq5x5"></td>
155
156       <td class="n" id="sq6x5"></td>
157
158       <td class="n" id="sq7x5"></td>
159
160       <td class="n" id="sq8x5"></td>
161
162       <td class="n" id="sq9x5"></td>
163
164       <td class="h"><img src="sym/red.png"></td>
165
166       <td class="w">Capture only</td>
167     </tr>
168
169     <tr>
170       <td class="n" id="sq0x4"></td>
171
172       <td class="n" id="sq1x4"></td>
173
174       <td class="n" id="sq2x4"></td>
175
176       <td class="n" id="sq3x4"></td>
177
178       <td class="n" id="sq4x4"></td>
179
180       <td class="n" id="sq5x4"></td>
181
182       <td class="n" id="sq6x4"></td>
183
184       <td class="n" id="sq7x4"></td>
185
186       <td class="n" id="sq8x4"></td>
187
188       <td class="n" id="sq9x4"></td>
189     </tr>
190
191     <tr>
192       <td class="n" id="sq0x3"></td>
193
194       <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
195       onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
196
197       <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
198       onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
199
200       <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
201       onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
202
203       <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
204       onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
205
206       <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
207       onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
208
209       <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
210       onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
211
212       <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
213       onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
214
215       <td class="n" id="sq8x3"></td>
216
217       <td class="n" id="sq9x3"></td>
218     </tr>
219
220     <tr>
221       <td class="n" id="sq0x2"></td>
222
223       <td class="n" id="sq1x2"></td>
224
225       <td class="n" id="sq2x2"></td>
226
227       <td class="n" id="sq3x2"></td>
228
229       <td class="n" id="sq4x2"></td>
230
231       <td class="n" id="sq5x2"></td>
232
233       <td class="n" id="sq6x2"></td>
234
235       <td class="n" id="sq7x2"></td>
236
237       <td class="n" id="sq8x2"></td>
238
239       <td class="n" id="sq9x2"></td>
240     </tr>
241
242     <tr>
243       <td class="n" id="sq0x1"></td>
244
245       <td class="n" id="sq1x1"></td>
246
247       <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
248       onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
249
250       <td class="n" id="sq3x1"></td>
251
252       <td class="n" id="sq4x1"></td>
253
254       <td class="n" id="sq5x1"></td>
255
256       <td class="n" id="sq6x1"></td>
257
258       <td class="n" id="sq7x1"></td>
259
260       <td class="n" id="sq8x1"></td>
261
262       <td class="n" id="sq9x1"></td>
263     </tr>
264
265     <tr>
266       <td class="n" id="sq0x0"></td>
267
268       <td class="n" id="sq1x0"></td>
269
270       <td class="n" id="sq2x0"></td>
271
272       <td class="n" id="sq3x0"></td>
273
274       <td class="n" id="sq4x0"></td>
275
276       <td class="n" id="sq5x0"></td>
277
278       <td class="n" id="sq6x0"></td>
279
280       <td class="n" id="sq7x0"></td>
281
282       <td class="n" id="sq8x0"></td>
283
284       <td class="n" id="sq9x0"></td>
285     </tr>
286   </table>
287
288   <p id="piece" height="20">:<br>
289   :<br>
290   :<br>
291   :</p>
292
293   <table cellpadding="5" border="1">
294     <tr>
295       <td>Piece</td>
296
297       <td>ID</td>
298
299       <td>value</td>
300
301       <td>Moves (<a href="Betza.html">Betza notation</a>)</td>
302
303       <td>Remarks</td>
304     </tr>
305
306     <tr>
307       <td>King</td>
308
309       <td>K</td>
310
311       <td>-</td>
312
313       <td>K</td>
314
315       <td>Can castle with Rook, moving 3 or 4 steps to b- or
316       i-file</td>
317     </tr>
318
319     <tr>
320       <td>Queen</td>
321
322       <td>Q</td>
323
324       <td>9.5</td>
325
326       <td>RB or Q</td>
327
328       <td></td>
329     </tr>
330
331     <tr>
332       <td>Janus</td>
333
334       <td>J</td>
335
336       <td>8.75</td>
337
338       <td>BN</td>
339
340       <td></td>
341     </tr>
342
343     <tr>
344       <td>Rook</td>
345
346       <td>R</td>
347
348       <td>5</td>
349
350       <td>R</td>
351
352       <td></td>
353     </tr>
354
355     <tr>
356       <td>Bishop</td>
357
358       <td>B</td>
359
360       <td>3.5</td>
361
362       <td>B</td>
363
364       <td>Color-bound</td>
365     </tr>
366
367     <tr>
368       <td>Knight</td>
369
370       <td>N</td>
371
372       <td>3</td>
373
374       <td>N</td>
375
376       <td></td>
377     </tr>
378
379     <tr>
380       <td>Pawn</td>
381
382       <td>P</td>
383
384       <td>1</td>
385
386       <td>mfWcfF</td>
387
388       <td>Promotes to Q, J, R, B, or N on reaching last rank</td>
389     </tr>
390   </table>
391
392   <h3>Pawn peculiarities</h3>
393
394   <ul>
395     <li>Pawns capture differently from how they move (straight
396     move, diagonal capture).</li>
397
398     <li>Pawns can move two squares ahead from their initial
399     position, provided they are not blocked.</li>
400
401     <li>On the move immediately after such a double push, they can
402     be captured en passant by another Pawn, as if they had only
403     moved 1 square ahead.</li>
404
405     <li>Pawns promote to another (non-royal) piece of choice when
406     they reach last rank.</li>
407   </ul>
408
409   <h3>Castling</h3>
410
411   <p>A King that has not moved before can move <b>to the square
412   neighboring</b> a Rook that has not moved before, in which case
413   that Rook is moved to the square next to the King on the other
414   side. This is only allowed if all squares between King and Rook
415   are empty, when the King is not in check on the square it came
416   from, and would not be in check on any of the squares it skipped
417   over.</p>
418
419   <h3>General rules</h3>
420
421   <ul>
422     <li>It is not allowed to expose your King to check.</li>
423
424     <li>The game is won by checkmating the opponent's King.</li>
425
426     <li>Stalemate (no legal moves, but not in check) is a
427     draw.</li>
428   </ul>
429
430   <h3>Differences with FIDE</h3>
431
432   <p>The Janus pieces are extra, and the board is expanded to
433   accomodate them. The King starts on the other side of the Queen.
434   Castling is asymmetric; the King moves 4 steps on long castling,
435   3 steps on short.</p>
436
437   <h3>Strategy issues</h3>
438
439   <p>It is not possible to force checkmate on a bare King with just
440   a single Bishop or Knight (in addition to your own King). Two
441   Knights cannot do that either. The Janus can force checkmate
442   against a bare King.</p>
443
444   <p>Bishops are confined to squares of a single color. Having
445   Bishops on both colors compensates this weakness, and is worth an
446   extra 0.5 on top of their added value.</p>
447
448   <p>As Janus is nearly equal in value to Queen, under-promotion to
449   it is common, and there is virtually never any need to promote to
450   R, B or N.</p>
451
452   <p>The super-pieces (Q, J) devaluate by the presence of
453   lower-valued opponent pieces. As a result trading Q for R + B is
454   in general a good trade when you still have both J, as the latter
455   gain in value by eliminating the opponent's R and B, which is
456   more compensation than the intrinsic value differene between Q
457   and R + B.</p>
458 </div><!-- for id="content", starts in the include above -->
459 <!--#include virtual="/server/footer.html" -->
460 </body>
461 </html>