run tidy over html files; added include for gnu pages
[xboard.git] / whats_new / rules / Chu.html
index 273a249..21dd898 100644 (file)
-<html>
-<header>
-<title>Chu Shogi</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="chu.js"></script>
-</header>
-<body>
-<h1>Chu Shogi (Ancient Japanese Chess)</h1>
-<p>
-Chu Shogi was already known in the year 1250,
-and has been the dominant form of Chess in Japan for many centuries.
-In recent time, after the invention of piece drops, it was overtaken in popularity by modern Shogi.
-It is still widely played in Japan, though.
-</p>
-<table cellpadding="20"><tr><td>
-<img src="Chu.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f0, g11: King
-<br>
-f2, g9: Lion
-<br>
-g2, f9: Queen (Free King)
-<br>
-e2, e9, h2, h9: Dragon King
-<br>
-d2, d9, i2, i9: Dragon Horse
-<br>
-c2, c9, j2, j9: Rook
-<br>
-c1, c10, j1, j10: Bishop
-<br>
-b2, b9, k2, k9: Vertical Mover
-<br>
-a2, a9, l2, l9: Side Mover
-<br>
-a1, a10, l1, l10: Canon (Reverse Chariot)
-<br>
-a0, a11, l0, l11: Lance
-<br>
-f1, g10: Kylin
-<br>
-g1, f10: Phoenix
-<br>
-g0, f11: Elephant
-<br>
-e1, e10, h1, h10: Blind Tiger
-<br>
-e0, e11, h0, h11: Gold General
-<br>
-d0, d11, i0, i11: Silver General
-<br>
-c0, c11, j0, j11: Copper General
-<br>
-b0, b11, k0, k11: Ferocious Leopard
-<br>
-d4, d7, i4, i7: Cobra (Go Between)
-<br>
-a3-l3, a8-l8: Pawns
-</p>
-</td></tr></table>
-
-<h3>Moves at a Glance</h3>
-
-<p>Click on a piece below to see its moves</p>
-
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(,)" onmouseUp="up_click(,)">
-
-     </td><td class="n" id="1x9">
-
-     </td><td class="n" id="2x9">
-
-     </td><td class="n" id="3x9">
-
-     </td><td class="n" id="4x9">
-
-     </td><td class="n" id="5x9">
-
-     </td><td class="n" id="6x9">
-
-     </td><td class="n" id="7x9">
-
-     </td><td class="n" id="8x9">
-
-     </td><td class="n" id="9x9">
-
-     </td><td class="h">
-<img src="sym/yellow.png">
-     </td><td class="w" rowspan="2" valign="top">
-<p>Sliding capture or non-capture,<br>can be blocked on any square along the ray</p>
-</td></tr><tr><td class="n" id="0x8">
-
-     </td><td class="n" id="1x8">
-
-     </td><td class="n" id="2x8">
-
-     </td><td class="n" id="3x8">
-
-     </td><td class="n" id="4x8">
-
-     </td><td class="n" id="5x8">
-
-     </td><td class="n" id="6x8">
-
-     </td><td class="n" id="7x8">
-
-     </td><td class="n" id="8x8">
-
-     </td><td class="n" id="9x8">
-
-</td></tr><tr><td class="n" id="0x7">
-
-     </td><td class="n" id="1x7">
-
-     </td><td class="n" id="2x7">
-
-     </td><td class="n" id="3x7" onmouseDown="down_click(3,7)" onmouseUp="up_click()">
-<img src="sym/WhiteGold.png">
-     </td><td class="n" id="4x7" onmouseDown="down_click(4,7)" onmouseUp="up_click()">
-<img src="sym/WhiteAdvisor.png">
-     </td><td class="n" id="5x7" onmouseDown="down_click(5,7)" onmouseUp="up_click()">
-<img src="sym/WhiteCommoner.png">
-     </td><td class="n" id="6x7">
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Chu Shogi</title>
+  <link rel="StyleSheet" href="./moves.css" type="text/css">
+  <script type="text/javascript" src="chu.js">
+</script>
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
 
-     </td><td class="n" id="7x7">
+  <h1>Chu Shogi (Ancient Japanese Chess)</h1>
 
-     </td><td class="n" id="8x7">
+  <p>Chu Shogi was already known in the year 1250, and has been the
+  dominant form of Chess in Japan for many centuries. In recent
+  time, after the invention of piece drops, it was overtaken in
+  popularity by modern Shogi. It is still widely played in Japan,
+  though.</p>
 
-     </td><td class="n" id="9x7">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Chu.png"></td>
 
-     </td><td class="h">
-<img src="sym/orange.png">
-     </td><td class="w">
-Unblockable leap (capture or non-capture)
-</td></tr><tr><td class="n" id="0x6">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x6">
+        <p>f0, g11: King<br>
+        f2, g9: Lion<br>
+        g2, f9: Queen (Free King)<br>
+        e2, e9, h2, h9: Dragon King<br>
+        d2, d9, i2, i9: Dragon Horse<br>
+        c2, c9, j2, j9: Rook<br>
+        c1, c10, j1, j10: Bishop<br>
+        b2, b9, k2, k9: Vertical Mover<br>
+        a2, a9, l2, l9: Side Mover<br>
+        a1, a10, l1, l10: Canon (Reverse Chariot)<br>
+        a0, a11, l0, l11: Lance<br>
+        f1, g10: Kylin<br>
+        g1, f10: Phoenix<br>
+        g0, f11: Elephant<br>
+        e1, e10, h1, h10: Blind Tiger<br>
+        e0, e11, h0, h11: Gold General<br>
+        d0, d11, i0, i11: Silver General<br>
+        c0, c11, j0, j11: Copper General<br>
+        b0, b11, k0, k11: Ferocious Leopard<br>
+        d4, d7, i4, i7: Cobra (Go Between)<br>
+        a3-l3, a8-l8: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="2x6">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,6)" onmouseUp="up_click()">
-<img src="sym/WhiteLeopard.png">
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,6)" onmouseUp="up_click()">
-<img src="sym/WhiteDolphin.png">
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
-<img src="sym/WhiteCanon.png">
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,6)" onmouseUp="up_click()">
-<img src="sym/WhiteKing.png">
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,6)" onmouseUp="up_click()">
-<img src="sym/WhiteElephant.png">
-     </td><td class="n" id="8x6">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="9x6">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(,)" onmouseup=
+      "up_click(,)"></td>
 
-     </td><td class="h">
-<img src="sym/cyan.png">
-     </td><td class="w" rowspan="2" valign="top">
-Captured while passing through the square to another destination
-</td></tr><tr><td class="n" id="0x5">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="2x5" onmouseDown="down_click(2,5)" onmouseUp="up_click()">
-<img src="sym/WhiteSword.png">
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,5)" onmouseUp="up_click()">
-<img src="sym/WhitePrincess.png">
-     </td><td class="n" id="4x5" onmouseDown="down_click(4,5)" onmouseUp="up_click()">
-<img src="sym/WhiteHawk.png">
-     </td><td class="n" id="5x5" onmouseDown="down_click(5,5)" onmouseUp="up_click()">
-<img src="sym/WhiteUnicorn.png">
-     </td><td class="n" id="6x5" onmouseDown="down_click(6,5)" onmouseUp="up_click()">
-<img src="sym/WhiteCrownedRook.png">
-     </td><td class="n" id="7x5" onmouseDown="down_click(7,5)" onmouseUp="up_click()">
-<img src="sym/WhiteRook.png">
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq4x9"></td>
 
-</td></tr><tr><td class="n" id="0x4">
+      <td class="n" id="sq5x9"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="2x4" onmouseDown="down_click(2,4)" onmouseUp="up_click()">
-<img src="sym/WhiteHSword.png">
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,4)" onmouseUp="up_click()">
-<img src="sym/WhiteHCrown.png">
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,4)" onmouseUp="up_click()">
-<img src="sym/WhiteLion.png">
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,4)" onmouseUp="up_click()">
-<img src="sym/WhiteCrownedBishop.png">
-     </td><td class="n" id="7x4" onmouseDown="down_click(7,4)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq8x9"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq9x9"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="2x3" onmouseDown="down_click(2,3)" onmouseUp="up_click()">
-<img src="sym/WhiteCobra.png">
-     </td><td class="n" id="3x3" onmouseDown="down_click(3,3)" onmouseUp="up_click()">
-<img src="sym/WhiteMarshall.png">
-     </td><td class="n" id="4x3" onmouseDown="down_click(4,3)" onmouseUp="up_click()">
-<img src="sym/WhiteKnight.png">
-     </td><td class="n" id="5x3" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteChancellor.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="7x3">
+      <td class="w" rowspan="2" valign="top">
+        <p>Sliding capture or non-capture,<br>
+        can be blocked on any square along the ray</p>
+      </td>
+    </tr>
 
-     </td><td class="n" id="8x3">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq1x8"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="4x2" onmouseDown="down_click(4,2)" onmouseUp="up_click()">
-<img src="sym/WhiteLance.png">
-     </td><td class="n" id="5x2" onmouseDown="down_click(5,2)" onmouseUp="up_click()">
-<img src="sym/WhiteClaw.png">
-     </td><td class="n" id="6x2" onmouseDown="down_click(6,2)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq8x8"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="1x1">
-
-     </td><td class="n" id="2x1">
-
-     </td><td class="n" id="3x1">
-
-     </td><td class="n" id="4x1">
-
-     </td><td class="n" id="5x1">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="7x1">
-
-     </td><td class="n" id="8x1">
-
-     </td><td class="n" id="9x1">
-
-</td></tr><tr><td class="n" id="0x0">
-
-     </td><td class="n" id="1x0">
-
-     </td><td class="n" id="2x0">
-
-     </td><td class="n" id="3x0">
-
-     </td><td class="n" id="4x0">
-
-     </td><td class="n" id="5x0">
-
-     </td><td class="n" id="6x0">
-
-     </td><td class="n" id="7x0">
-
-     </td><td class="n" id="8x0">
-
-     </td><td class="n" id="9x0">
-
-</td></tr></table>
-
-<p id="piece" height="20">:<br>:<br>:<br>:</p>
-
-<table cellpadding="5" border="1"><tr><td>
-<b>sym</b>
-     </td><td>
-<b>Piece name</b>
-     </td><td>
-<b>ID</b>
-     </td><td>
-<b>value</b>
-     </td><td>
-<b>Moves</b> (<a href="Betza.html">Betza notation</a>)
-     </td><td>
-<b>Remarks</b>
-</td></tr><tr><td>
-<img src="sym/WhiteKing.png">
-     </td><td>
-King
-     </td><td>
-K
-     </td><td>
--
-     </td><td>
-K
-     </td><td>
-
-</td></tr><tr><td>
-<img src="sym/WhiteLion.png">
-     </td><td>
-Lion
-     </td><td>
-N
-     </td><td>
-
-     </td><td>
-KADN(cK-aK)(K-bK)
-     </td><td>
-Can move twice per turn (as King)
-</td></tr><tr><td>
-<img src="sym/WhiteQueen.png">
-     </td><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-<img src="sym/WhiteCrownedRook.png">
-     </td><td>
-Dragon(-King)
-     </td><td>
-D
-     </td><td>
-
-     </td><td>
-RF
-     </td><td>
-Promotes to Eagle
-</td></tr><tr><td>
-<img src="sym/WhiteCrownedBishop.png">
-     </td><td>
-(Dragon-)Horse
-     </td><td>
-H
-     </td><td>
-
-     </td><td>
-BW
-     </td><td>
-Promotes to Unicorn
-</td></tr><tr><td>
-<img src="sym/WhiteRook.png">
-     </td><td>
-Rook
-     </td><td>
-R
-     </td><td>
-
-     </td><td>
-R
-     </td><td>
-Promotes to Dragon
-</td></tr><tr><td>
-<img src="sym/WhiteBishop.png">
-     </td><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-
-     </td><td>
-B
-     </td><td>
-Promotes to Horse
-</td></tr><tr><td>
-<img src="sym/WhiteSword.png">
-     </td><td>
-Vertical Mover
-     </td><td>
-V
-     </td><td>
-
-     </td><td>
-vRsW
-     </td><td>
-Promotes to Narrow Queen
-</td></tr><tr><td>
-<img src="sym/WhiteHSword.png">
-     </td><td>
-Side Mover
-     </td><td>
-S
-     </td><td>
-
-     </td><td>
-sRvW
-     </td><td>
-Promotes to Sleeping Queen
-</td></tr><tr><td>
-<img src="sym/WhiteCanon.png">
-     </td><td>
-Canon
-     </td><td>
-A
-     </td><td>
-
-     </td><td>
-vR
-     </td><td>
-Promotes to Whale
-</td></tr><tr><td>
-<img src="sym/WhiteLance.png">
-     </td><td>
-Lance
-     </td><td>
-L
-     </td><td>
-
-     </td><td>
-fR
-     </td><td>
-Promotes to White Horse
-</td></tr><tr><td>
-<img src="sym/WhiteMarshall.png">
-     </td><td>
-Kylin
-     </td><td>
-O
-     </td><td>
-
-     </td><td>
-FD
-     </td><td>
-Promotes to Lion
-</td></tr><tr><td>
-<img src="sym/WhiteArchbishop.png">
-     </td><td>
-Phoenix
-     </td><td>
-X
-     </td><td>
-
-     </td><td>
-WA
-     </td><td>
-Promotes to Queen
-</td></tr><tr><td>
-<img src="sym/WhiteElephant.png">
-     </td><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-
-     </td><td>
-FsfW
-     </td><td>
-<b>Promotes to a second King</b>
-</td></tr><tr><td>
-<img src="sym/WhiteClaw.png">
-     </td><td>
-Blind Tiger
-     </td><td>
-T
-     </td><td>
-
-     </td><td>
-FsbW
-     </td><td>
-Promotes to Flying Stag
-</td></tr><tr><td>
-<img src="sym/WhiteGold.png">
-     </td><td>
-Gold
-     </td><td>
-G
-     </td><td>
-
-     </td><td>
-WfF
-     </td><td>
-Promotes to Rook
-</td></tr><tr><td>
-<img src="sym/WhiteAdvisor.png">
-     </td><td>
-Silver
-     </td><td>
-S
-     </td><td>
-
-     </td><td>
-FfW
-     </td><td>
-promotes to Vertical Mover
-</td></tr><tr><td>
-<img src="sym/WhiteCommoner.png">
-     </td><td>
-Copper
-     </td><td>
-C
-     </td><td>
-
-     </td><td>
-fFvW
-     </td><td>
-promotes to Side Mover
-</td></tr><tr><td>
-<img src="sym/WhiteLeopard.png">
-     </td><td>
-Ferocious Leopard
-     </td><td>
-F
-     </td><td>
-
-     </td><td>
-FvW
-     </td><td>
-promotes to Bishop
-</td></tr><tr><td>
-<img src="sym/WhiteCobra.png">
-     </td><td>
-Cobra
-     </td><td>
-I
-     </td><td>
-
-     </td><td>
-vW
-     </td><td>
-promotes to Elephant
-</td></tr><tr><td>
-<img src="sym/WhitePawn.png">
-     </td><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-
-     </td><td>
-fW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td colspan="6">
-<b>Promoted pieces (not initially present)<?B>
-</td></tr><tr><td>
-<img src="sym/WhiteHawk.png">
-     </td><td>
-Eagle
-     </td><td>
-+D
-     </td><td>
-
-     </td><td>
-RbBf(FA(cF-F)(mcF-bF))
-     </td><td>
-Moves as Q, except for linear double-step 'stinging' moves diagonally forward
-</td></tr><tr><td>
-<img src="sym/WhiteUnicorn.png">
-     </td><td>
-Unicorn
-     </td><td>
-+H
-     </td><td>
-
-     </td><td>
-BsbRf(WD(cW-W)(mcW-bW))
-     </td><td>
-(aka Horned Falcon) Moves as Q, except for linear double-step 'stinging' forward
-</td></tr><tr><td>
-<img src="sym/WhitePrincess.png">
-     </td><td>
-Narrow Queen
-     </td><td>
-+V
-     </td><td>
-
-     </td><td>
-BvR
-     </td><td>
-aka Flying Ox
-</td></tr><tr><td>
-<img src="sym/WhiteHCrown.png">
-     </td><td>
-Sleeping Queen
-     </td><td>
-+M
-     </td><td>
-
-     </td><td>
-BsR
-     </td><td>
-aka Free Boar
-</td></tr><tr><td>
-<img src="sym/WhiteChancellor.png">
-     </td><td>
-Flying Stag
-     </td><td>
-+T
-     </td><td>
-
-     </td><td>
-FvRsW
-     </td><td>
-
-</td></tr><tr><td>
-<img src="sym/WhiteKnight.png">
-     </td><td>
-White Horse
-     </td><td>
-+L
-     </td><td>
-
-     </td><td>
-vRfB
-     </td><td>
-
-</td></tr><tr><td>
-<img src="sym/WhiteDolphin.png">
-     </td><td>
-Whale
-     </td><td>
-+A
-     </td><td>
-
-     </td><td>
-fbRbB
-     </td><td>
-
-</td></tr></table>
-
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns move <b>and capture</b> straight ahead.</li>
-</ul>
-<h3>General rules</h3>
-<ul>
-<li>The game is won by capturing the opponent's only King.</li>
-<li>Pieces promote at the end of a move into the promotion zone.</li>
-<li>The promotion zone consists of the last four ranks.</li>
-<li>Pieces promote only once.</li>
-<li>Perpetual checking is forbidden, and would be ruled a loss on the 4-fold repeat.</li>
-<li>Other repetitions lose for the side that creates them.</li>
-</ul>
-<h3>Lion moves and Stinging pieces</h3>
-<p>
-Some pieces can make two moves per turn.
-That means they can also capture two pieces per turn,
-one on the square they move to (as normal), and one 'en passant' on the transit square.
-They can also capture on the transit square, and move on to an empty square ('hit and run'),
-or capture and move back to where they came from ('shooting' the piece from a distance, as it were).
-Of course they can also capture a single piece in the normal Chess manner.
-In that case the transit square is immaterial.
-</p>
-<p>
-The Lion can make such double moves as two King steps,
-i.e. in all directions, and arbitrarily changing direction between them.
-The Unicorn and the Eagle can only make double moves in one or two directions respectively.
-They can not arbitrarily change direction, but only reverse it (or not), so they do stay on the ray in that direction.
-But that way they can still make double, hit-and-run, shooting or normal captures.
-All these pieces can also jump over the transit square, i.e. reach the distant two-step destination in a single jump.
-Finally they can also just make a step to an adjacent square, refraining from taking a second step.
-</p>
-<h3>Restrictions on Lion capture</h3>
-<p>
-There are rules to make Lion trading very difficult, in order to keep the Lions in play.
-Basically they specify that two Lions cannot be captured in consecutive half-moves.
-When the first capture is Lion x Lion from a distance, it is forbidden to play it if recapture of the capturing Lion is possible.
-When another piece captures a Lion, it is just the other way around:
-then the 'counterstrike' by a non-Lion against the Lion is forbidden.
-One possibility left open is thus when you capture an adjacent Lion.
-But then you would in general be foolish to allow recapture,
-as you could take the Lion hit-and-run fashion, fleeing to a save square.
-An exception to the rule is when a valuable opponent piece (i.e. not a Pawn or Go Between) forms a 'bridge' between the Lions;
-you may then capture that piece in the first leg of the double-move,
-and then take the opponent Lion with the second leg.
-Then the opponent can recapture, but he will have lost a valuable piece.
-</p>
-<h3>XBoard interface issues</h3>
-<p>
-This game has to be played with the option Show Target Squares on!
-This option will cause marking of the target squares of any piece you select or grab,
-by the engine (with legality testing off) or by XBoard (legality testing on).
-Moving to a square marked in cyan will be interpreted not as the final destination,
-but as the transit square after the first step of a multi-leg move.
-XBoard will then highlight the possible destination squares of the second leg from there.
-Should you want to end on the cyan square, you click it again, (it will be no longer marked in cyan),
-and XBoard will terminate the move after the first leg.
-You can also move back to the starting square, to 'shoot' the opponent piece from nearby.
-</p>
-<p>
-With Detour Underpromotion on, XBoard will assume by default that every piece that enters the zone promotes.
-Should you want to defer in this mode, you should use a click-click move,
-and when you make the click on the promotion square,
-move the mouse down before releasing the button.
-If you move enough the piece on the promotion square will change back to the unpromoted form,
-and then you can release.
-With Detour Underpromotion off, you will automatically get a promotion popup that asks whether you want to promote or defer.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-Except that there are also Kings, Queens, Rooks and Bishops, not much is the same.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Piece with no sliding forward moves are hard to promote,
-but promotion of forward sliders is practically unavoidable.
-</p>
-<p>
-You can have two Kings by promoting the Elephant, in which case the opponent would have to capture both in order to win.
-</p>
-<p>
-</p>
+      <td class="n" id="sq2x7"></td>
+
+      <td class="n" id="sq3x7" onmousedown="down_click(3,7)"
+      onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
+
+      <td class="n" id="sq4x7" onmousedown="down_click(4,7)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
+
+      <td class="n" id="sq5x7" onmousedown="down_click(5,7)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.png"></td>
+
+      <td class="n" id="sq6x7"></td>
+
+      <td class="n" id="sq7x7"></td>
+
+      <td class="n" id="sq8x7"></td>
+
+      <td class="n" id="sq9x7"></td>
+
+      <td class="h"><img src="sym/orange.png"></td>
+
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x6"></td>
+
+      <td class="n" id="sq1x6"></td>
+
+      <td class="n" id="sq2x6"></td>
+
+      <td class="n" id="sq3x6" onmousedown="down_click(3,6)"
+      onmouseup="up_click()"><img src="sym/WhiteLeopard.png"></td>
+
+      <td class="n" id="sq4x6" onmousedown="down_click(4,6)"
+      onmouseup="up_click()"><img src="sym/WhiteDolphin.png"></td>
+
+      <td class="n" id="sq5x6" onmousedown="down_click(5,6)"
+      onmouseup="up_click()"><img src="sym/WhiteCanon.png"></td>
+
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
+
+      <td class="n" id="sq7x6" onmousedown="down_click(7,6)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
+
+      <td class="n" id="sq8x6"></td>
+
+      <td class="n" id="sq9x6"></td>
+
+      <td class="h"><img src="sym/cyan.png"></td>
+
+      <td class="w" rowspan="2" valign="top">Captured while passing
+      through the square to another destination</td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x5"></td>
+
+      <td class="n" id="sq1x5"></td>
+
+      <td class="n" id="sq2x5" onmousedown="down_click(2,5)"
+      onmouseup="up_click()"><img src="sym/WhiteSword.png"></td>
+
+      <td class="n" id="sq3x5" onmousedown="down_click(3,5)"
+      onmouseup="up_click()"><img src="sym/WhitePrincess.png"></td>
+
+      <td class="n" id="sq4x5" onmousedown="down_click(4,5)"
+      onmouseup="up_click()"><img src="sym/WhiteHawk.png"></td>
+
+      <td class="n" id="sq5x5" onmousedown="down_click(5,5)"
+      onmouseup="up_click()"><img src="sym/WhiteUnicorn.png"></td>
+
+      <td class="n" id="sq6x5" onmousedown="down_click(6,5)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedRook.png"></td>
+
+      <td class="n" id="sq7x5" onmousedown="down_click(7,5)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
+
+      <td class="n" id="sq8x5"></td>
+
+      <td class="n" id="sq9x5"></td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x4"></td>
+
+      <td class="n" id="sq1x4"></td>
+
+      <td class="n" id="sq2x4" onmousedown="down_click(2,4)"
+      onmouseup="up_click()"><img src="sym/WhiteHSword.png"></td>
+
+      <td class="n" id="sq3x4" onmousedown="down_click(3,4)"
+      onmouseup="up_click()"><img src="sym/WhiteHCrown.png"></td>
+
+      <td class="n" id="sq4x4" onmousedown="down_click(4,4)"
+      onmouseup="up_click()"><img src="sym/WhiteLion.png"></td>
+
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
+
+      <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
+
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
+
+      <td class="n" id="sq8x4"></td>
+
+      <td class="n" id="sq9x4"></td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x3"></td>
+
+      <td class="n" id="sq1x3"></td>
+
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhiteCobra.png"></td>
+
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteMarshall.png"></td>
+
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
+
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteChancellor.png"></td>
+
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.png"></td>
+
+      <td class="n" id="sq7x3"></td>
+
+      <td class="n" id="sq8x3"></td>
+
+      <td class="n" id="sq9x3"></td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x2"></td>
+
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2" onmousedown="down_click(4,2)"
+      onmouseup="up_click()"><img src="sym/WhiteLance.png"></td>
+
+      <td class="n" id="sq5x2" onmousedown="down_click(5,2)"
+      onmouseup="up_click()"><img src="sym/WhiteClaw.png"></td>
+
+      <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="n" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1"></td>
+
+      <td class="n" id="sq3x1"></td>
+
+      <td class="n" id="sq4x1"></td>
+
+      <td class="n" id="sq5x1"></td>
+
+      <td class="n" id="sq6x1"></td>
+
+      <td class="n" id="sq7x1"></td>
+
+      <td class="n" id="sq8x1"></td>
+
+      <td class="n" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x0"></td>
+
+      <td class="n" id="sq1x0"></td>
+
+      <td class="n" id="sq2x0"></td>
+
+      <td class="n" id="sq3x0"></td>
+
+      <td class="n" id="sq4x0"></td>
+
+      <td class="n" id="sq5x0"></td>
+
+      <td class="n" id="sq6x0"></td>
+
+      <td class="n" id="sq7x0"></td>
+
+      <td class="n" id="sq8x0"></td>
+
+      <td class="n" id="sq9x0"></td>
+    </tr>
+  </table>
+
+  <p id="piece" height="20">:<br>
+  :<br>
+  :<br>
+  :</p>
+
+  <table cellpadding="5" border="1">
+    <tr>
+      <td><b>sym</b></td>
+
+      <td><b>Piece name</b></td>
+
+      <td><b>ID</b></td>
+
+      <td><b>value</b></td>
+
+      <td><b>Moves</b> (<a href="Betza.html">Betza
+      notation</a>)</td>
+
+      <td><b>Remarks</b></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteKing.png"></td>
+
+      <td>King</td>
+
+      <td>K</td>
+
+      <td>-</td>
+
+      <td>K</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteLion.png"></td>
+
+      <td>Lion</td>
+
+      <td>N</td>
+
+      <td></td>
+
+      <td>KADN(cK-aK)(K-bK)</td>
+
+      <td>Can move twice per turn (as King)</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteQueen.png"></td>
+
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td></td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteCrownedRook.png"></td>
+
+      <td>Dragon(-King)</td>
+
+      <td>D</td>
+
+      <td></td>
+
+      <td>RF</td>
+
+      <td>Promotes to Eagle</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteCrownedBishop.png"></td>
+
+      <td>(Dragon-)Horse</td>
+
+      <td>H</td>
+
+      <td></td>
+
+      <td>BW</td>
+
+      <td>Promotes to Unicorn</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteRook.png"></td>
+
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td></td>
+
+      <td>R</td>
+
+      <td>Promotes to Dragon</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteBishop.png"></td>
+
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td></td>
+
+      <td>B</td>
+
+      <td>Promotes to Horse</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteSword.png"></td>
+
+      <td>Vertical Mover</td>
+
+      <td>V</td>
+
+      <td></td>
+
+      <td>vRsW</td>
+
+      <td>Promotes to Narrow Queen</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteHSword.png"></td>
+
+      <td>Side Mover</td>
+
+      <td>S</td>
+
+      <td></td>
+
+      <td>sRvW</td>
+
+      <td>Promotes to Sleeping Queen</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteCanon.png"></td>
+
+      <td>Canon</td>
+
+      <td>A</td>
+
+      <td></td>
+
+      <td>vR</td>
+
+      <td>Promotes to Whale</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteLance.png"></td>
+
+      <td>Lance</td>
+
+      <td>L</td>
+
+      <td></td>
+
+      <td>fR</td>
+
+      <td>Promotes to White Horse</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteMarshall.png"></td>
+
+      <td>Kylin</td>
+
+      <td>O</td>
+
+      <td></td>
+
+      <td>FD</td>
+
+      <td>Promotes to Lion</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteArchbishop.png"></td>
+
+      <td>Phoenix</td>
+
+      <td>X</td>
+
+      <td></td>
+
+      <td>WA</td>
+
+      <td>Promotes to Queen</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteElephant.png"></td>
+
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td></td>
+
+      <td>FsfW</td>
+
+      <td><b>Promotes to a second King</b></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteClaw.png"></td>
+
+      <td>Blind Tiger</td>
+
+      <td>T</td>
+
+      <td></td>
+
+      <td>FsbW</td>
+
+      <td>Promotes to Flying Stag</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteGold.png"></td>
+
+      <td>Gold</td>
+
+      <td>G</td>
+
+      <td></td>
+
+      <td>WfF</td>
+
+      <td>Promotes to Rook</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteAdvisor.png"></td>
+
+      <td>Silver</td>
+
+      <td>S</td>
+
+      <td></td>
+
+      <td>FfW</td>
+
+      <td>promotes to Vertical Mover</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteCommoner.png"></td>
+
+      <td>Copper</td>
+
+      <td>C</td>
+
+      <td></td>
+
+      <td>fFvW</td>
+
+      <td>promotes to Side Mover</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteLeopard.png"></td>
+
+      <td>Ferocious Leopard</td>
+
+      <td>F</td>
+
+      <td></td>
+
+      <td>FvW</td>
+
+      <td>promotes to Bishop</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteCobra.png"></td>
+
+      <td>Cobra</td>
+
+      <td>I</td>
+
+      <td></td>
+
+      <td>vW</td>
+
+      <td>promotes to Elephant</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhitePawn.png"></td>
+
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td></td>
+
+      <td>fW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td colspan="6"><b>Promoted pieces (not initially present)
+      <?B>
+      </b></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteHawk.png"></td>
+
+      <td>Eagle</td>
+
+      <td>+D</td>
+
+      <td></td>
+
+      <td>RbBf(FA(cF-F)(mcF-bF))</td>
+
+      <td>Moves as Q, except for linear double-step 'stinging'
+      moves diagonally forward</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteUnicorn.png"></td>
+
+      <td>Unicorn</td>
+
+      <td>+H</td>
+
+      <td></td>
+
+      <td>BsbRf(WD(cW-W)(mcW-bW))</td>
+
+      <td>(aka Horned Falcon) Moves as Q, except for linear
+      double-step 'stinging' forward</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhitePrincess.png"></td>
+
+      <td>Narrow Queen</td>
+
+      <td>+V</td>
+
+      <td></td>
+
+      <td>BvR</td>
+
+      <td>aka Flying Ox</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteHCrown.png"></td>
+
+      <td>Sleeping Queen</td>
+
+      <td>+M</td>
+
+      <td></td>
+
+      <td>BsR</td>
+
+      <td>aka Free Boar</td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteChancellor.png"></td>
+
+      <td>Flying Stag</td>
+
+      <td>+T</td>
+
+      <td></td>
+
+      <td>FvRsW</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteKnight.png"></td>
+
+      <td>White Horse</td>
+
+      <td>+L</td>
+
+      <td></td>
+
+      <td>vRfB</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><img src="sym/WhiteDolphin.png"></td>
+
+      <td>Whale</td>
+
+      <td>+A</td>
+
+      <td></td>
+
+      <td>fbRbB</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns move <b>and capture</b> straight ahead.</li>
+  </ul>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>The game is won by capturing the opponent's only King.</li>
+
+    <li>Pieces promote at the end of a move into the promotion
+    zone.</li>
+
+    <li>The promotion zone consists of the last four ranks.</li>
+
+    <li>Pieces promote only once.</li>
+
+    <li>Perpetual checking is forbidden, and would be ruled a loss
+    on the 4-fold repeat.</li>
+
+    <li>Other repetitions lose for the side that creates them.</li>
+  </ul>
+
+  <h3>Lion moves and Stinging pieces</h3>
+
+  <p>Some pieces can make two moves per turn. That means they can
+  also capture two pieces per turn, one on the square they move to
+  (as normal), and one 'en passant' on the transit square. They can
+  also capture on the transit square, and move on to an empty
+  square ('hit and run'), or capture and move back to where they
+  came from ('shooting' the piece from a distance, as it were). Of
+  course they can also capture a single piece in the normal Chess
+  manner. In that case the transit square is immaterial.</p>
+
+  <p>The Lion can make such double moves as two King steps, i.e. in
+  all directions, and arbitrarily changing direction between them.
+  The Unicorn and the Eagle can only make double moves in one or
+  two directions respectively. They can not arbitrarily change
+  direction, but only reverse it (or not), so they do stay on the
+  ray in that direction. But that way they can still make double,
+  hit-and-run, shooting or normal captures. All these pieces can
+  also jump over the transit square, i.e. reach the distant
+  two-step destination in a single jump. Finally they can also just
+  make a step to an adjacent square, refraining from taking a
+  second step.</p>
+
+  <h3>Restrictions on Lion capture</h3>
+
+  <p>There are rules to make Lion trading very difficult, in order
+  to keep the Lions in play. Basically they specify that two Lions
+  cannot be captured in consecutive half-moves. When the first
+  capture is Lion x Lion from a distance, it is forbidden to play
+  it if recapture of the capturing Lion is possible. When another
+  piece captures a Lion, it is just the other way around: then the
+  'counterstrike' by a non-Lion against the Lion is forbidden. One
+  possibility left open is thus when you capture an adjacent Lion.
+  But then you would in general be foolish to allow recapture, as
+  you could take the Lion hit-and-run fashion, fleeing to a save
+  square. An exception to the rule is when a valuable opponent
+  piece (i.e. not a Pawn or Go Between) forms a 'bridge' between
+  the Lions; you may then capture that piece in the first leg of
+  the double-move, and then take the opponent Lion with the second
+  leg. Then the opponent can recapture, but he will have lost a
+  valuable piece.</p>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>This game has to be played with the option Show Target Squares
+  on! This option will cause marking of the target squares of any
+  piece you select or grab, by the engine (with legality testing
+  off) or by XBoard (legality testing on). Moving to a square
+  marked in cyan will be interpreted not as the final destination,
+  but as the transit square after the first step of a multi-leg
+  move. XBoard will then highlight the possible destination squares
+  of the second leg from there. Should you want to end on the cyan
+  square, you click it again, (it will be no longer marked in
+  cyan), and XBoard will terminate the move after the first leg.
+  You can also move back to the starting square, to 'shoot' the
+  opponent piece from nearby.</p>
+
+  <p>With Detour Underpromotion on, XBoard will assume by default
+  that every piece that enters the zone promotes. Should you want
+  to defer in this mode, you should use a click-click move, and
+  when you make the click on the promotion square, move the mouse
+  down before releasing the button. If you move enough the piece on
+  the promotion square will change back to the unpromoted form, and
+  then you can release. With Detour Underpromotion off, you will
+  automatically get a promotion popup that asks whether you want to
+  promote or defer.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>Except that there are also Kings, Queens, Rooks and Bishops,
+  not much is the same.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Piece with no sliding forward moves are hard to promote, but
+  promotion of forward sliders is practically unavoidable.</p>
+
+  <p>You can have two Kings by promoting the Elephant, in which
+  case the opponent would have to capture both in order to win.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>