run tidy over html files; added include for gnu pages
[xboard.git] / whats_new / rules / Xiangqi.html
index f2e77cd..bff4e76 100644 (file)
-<html>
-<header>
-<title>Xiangqi</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Xiangqi (Chinese Chess)</h1>
-<p>
-Xiangqi is the World's number one Chess variant in terms of number of players.
-Almost all players live in China, Taiwan or Vietnam, though.
-It is a fast and aggressive game, often described as a 'race to mate'.
-When it gets to an end-game it is often a draw,
-because there are many pieces that cannot leave their own board half,
-and thus can be used to defend but not to attack or to trade for the opponent's defenders.
-</p>
-<table cellpadding="20"><tr><td>
-<img src="Xiangqi.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e0, e9: King
-<br>
-a0, a9, i0, i9: Rook
-<br>
-b2, b7, h2, h7: Cannon
-<br>
-b0, b9, h0, h9: Horse
-<br>
-d0, d9, f0, f9: Advisor
-<br>
-c0, c9, g0, g9: Elephant
-<br>
-a3, c3, e3, g3, i3, a6, c6, e6, g6, i6: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Xiangqi</title>
+  <link rel="StyleSheet" href="./moves.css" type="text/css">
+  <script type="text/javascript" src="spartan.js">
+</script>
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
 
-<h3>Moves at a Glance</h3>
+  <h1>Xiangqi (Chinese Chess)</h1>
 
-<p>Click on a white piece below to see its moves</p>
+  <p>Xiangqi is the World's number one Chess variant in terms of
+  number of players. Almost all players live in China, Taiwan or
+  Vietnam, though. It is a fast and aggressive game, often
+  described as a 'race to mate'. When it gets to an end-game it is
+  often a draw, because there are many pieces that cannot leave
+  their own board half, and thus can be used to defend but not to
+  attack or to trade for the opponent's defenders.</p>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(,)" onmouseUp="up_click(,)">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Xiangqi.png"></td>
 
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>e0, e9: King<br>
+        a0, a9, i0, i9: Rook<br>
+        b2, b7, h2, h7: Cannon<br>
+        b0, b9, h0, h9: Horse<br>
+        d0, d9, f0, f9: Advisor<br>
+        c0, c9, g0, g9: Elephant<br>
+        a3, c3, e3, g3, i3, a6, c6, e6, g6, i6: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="3x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="4x9">
+  <p>Click on a white piece below to see its moves</p>
 
-     </td><td class="n" id="5x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(,)" onmouseup=
+      "up_click(,)"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="7x9">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="9x9">
+      <td class="n" id="sq3x9"></td>
 
-     </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 class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq5x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq7x9"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq9x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="7x8">
+      <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="8x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="9x8">
+      <td class="n" id="sq1x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="8x7">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="n" id="0x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="7x6">
-<img src="sym/BlackKnight.png">
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="n" id="0x5">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5" onmouseDown="down_click(2,5)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5" onmouseDown="down_click(-4,5)" onmouseUp="up_click()">
-<img src="sym/WhiteAdvisor.png">
-     </td><td class="n" id="5x5" onmouseDown="down_click(5,-5)" onmouseUp="up_click()">
-<img src="sym/WhiteElephant.png">
-     </td><td class="n" id="6x5" onmouseDown="down_click(6,-5)" onmouseUp="up_click()">
-<img src="sym/WhiteGold.png">
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="h">
-<img src="sym/open.png">
-     </td><td class="w" rowspan="2" valign="top">
-Unreachable square where move to other square can be blocked
-</td></tr><tr><td class="n" id="0x4">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq7x6"><img src="sym/BlackKnight.png"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="7x4" onmouseDown="down_click(7,4)" onmouseUp="up_click()">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq2x5" onmousedown="down_click(2,5)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq4x5" onmousedown="down_click(-4,5)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="2x3">
+      <td class="n" id="sq5x5" onmousedown="down_click(5,-5)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
 
-     </td><td class="n" id="3x3" onmouseDown="down_click(3,3)" onmouseUp="up_click()">
-<img src="sym/WhiteRook.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">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,-5)"
+      onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="h"><img src="sym/open.png"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="w" rowspan="2" valign="top">Unreachable square
+      where move to other square can be blocked</td>
+    </tr>
 
-     </td><td class="n" id="1x2">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x2" onmouseDown="down_click(2,2)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x2" onmouseDown="down_click(7,2)" onmouseUp="up_click()">
-<img src="sym/WhiteCanon.png">
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="4x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq1x3"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq2x3"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(-4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq5x3"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq6x3"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq1x2"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq2x2" onmousedown="down_click(2,2)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq3x2"></td>
 
-     </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>
-Piece
-     </td><td>
-ID
-     </td><td>
-value
-     </td><td>
-Moves (<a href="Betza.html">Betza notation</a>)
-     </td><td>
-Remarks
-</td></tr><tr><td>
-King
-     </td><td>
-K
-     </td><td>
--
-     </td><td>
-W
-     </td><td>
-Cannot leave its Palace
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-10
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Cannon
-     </td><td>
-C
-     </td><td>
-4-5
-     </td><td>
-pR
-     </td><td>
-Must jump 1 piece to capture
-</td></tr><tr><td>
-Horse
-     </td><td>
-H
-     </td><td>
-5-4
-     </td><td>
-n[WF]
-     </td><td>
-Cannot jump
-</td></tr><tr><td>
-Adviser
-     </td><td>
-A
-     </td><td>
-2
-     </td><td>
-F
-     </td><td>
-
-</td></tr><tr><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-2
-     </td><td>
-nA
-     </td><td>
-Cannot move onto opponent's board half
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-fW
-     </td><td>
-Acquires sideway moves (fWsW) on opponent's board half
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture and move straight ahead.</li>
-<li>When they reach the opponent's board half ('cross the River'), they can also move and capture sideways.</li>
-<li>There is no real promotion; when Pawns reach last rank they are stuck there.</li>
-</ul>
-<h3>General rules</h3>
-<ul>
-<li>It is not allowed to expose your King to check.</li>
-<li>Kings are not allowed to face each other, i.e. be on the same file with nothing in between.</li>
-<li>The game is won by checkmating the opponent's King.</li>
-<li>Stalemate (no legal moves, but not in check) is a los for the stalemated side.</li>
-<li>Perpetual checking is forbidden, and the side that checks is ruled to lose on the 3rd repeat.</li>
-<li>When both sides are perpetually checking each other, the game is ruled a draw, however.</li>
-<li>It is also forbidden to perpetually harass the same piece other than King (see below).</li>
-<li>But when both sides do it, the game is again ruled a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The board is sub-divided into zones, and some pieces are not allowed to cross some zone boundaries.
-Pieces move in general different than their FIDE counterpart. Only the Rook moves truly the same.
-</p>
-<h3>Perpetual Chasing</h3>
-<p>
-It is forbidden to perpetually harass the same piece,
-and when a repeat loop (after 3 repeats) has one side violating this rule, that side will forfeit the game.
-This is only invoked if there wasn't any perpetual checking in the loop as well.
-Exact rules for this are quite complex.
-Basically, when a repeat loop creates a <i>new</i> attack on the same <i>unprotected</i> piece on <i>every</i> move,
-the move sequence will be considered a perpetual chase.
-The chasing side then is ruled to lose, but if both sides are chasing, it is a draw.
-A Rook counts as unprotected against attacks of C or H.
-On the other hand, being able to capture your attacker (as when equal pieces attack each other) counts as (pre-emptive) protection.
-Attacks on a Pawn that is still on its own board half, or attacks by a King are never considered chases.
-</p>
-<p>
-Only legal moves should be taken into account; i.e. pinned pieces are not considered attackers or protectors.
-An attack by the same piece is not considered a new one just because the attacking piece moved to another location,
-e.g. when a Rook moves along the ray of the attack.
-Note that the above rules do not take into account whether the attacking or protecting captures are good or non-sensical,
-or if pieces are <i>sufficiently</i> protected against multiple attacks.
-Even if recapturing would get you mated in one, the piece would still count as protected!
-Also note that is perfectly allowed to alternately chase different pieces.
-Even if one of the pieces is a King.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Any piece except a Pawn on the last rank can force Checkmate against a bare King.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2" onmousedown="down_click(7,2)"
+      onmouseup="up_click()"><img src="sym/WhiteCanon.png"></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>Piece</td>
+
+      <td>ID</td>
+
+      <td>value</td>
+
+      <td>Moves (<a href="Betza.html">Betza notation</a>)</td>
+
+      <td>Remarks</td>
+    </tr>
+
+    <tr>
+      <td>King</td>
+
+      <td>K</td>
+
+      <td>-</td>
+
+      <td>W</td>
+
+      <td>Cannot leave its Palace</td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>10</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Cannon</td>
+
+      <td>C</td>
+
+      <td>4-5</td>
+
+      <td>pR</td>
+
+      <td>Must jump 1 piece to capture</td>
+    </tr>
+
+    <tr>
+      <td>Horse</td>
+
+      <td>H</td>
+
+      <td>5-4</td>
+
+      <td>n[WF]</td>
+
+      <td>Cannot jump</td>
+    </tr>
+
+    <tr>
+      <td>Adviser</td>
+
+      <td>A</td>
+
+      <td>2</td>
+
+      <td>F</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td>2</td>
+
+      <td>nA</td>
+
+      <td>Cannot move onto opponent's board half</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>fW</td>
+
+      <td>Acquires sideway moves (fWsW) on opponent's board
+      half</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture and move straight ahead.</li>
+
+    <li>When they reach the opponent's board half ('cross the
+    River'), they can also move and capture sideways.</li>
+
+    <li>There is no real promotion; when Pawns reach last rank they
+    are stuck there.</li>
+  </ul>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>It is not allowed to expose your King to check.</li>
+
+    <li>Kings are not allowed to face each other, i.e. be on the
+    same file with nothing in between.</li>
+
+    <li>The game is won by checkmating the opponent's King.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a los for
+    the stalemated side.</li>
+
+    <li>Perpetual checking is forbidden, and the side that checks
+    is ruled to lose on the 3rd repeat.</li>
+
+    <li>When both sides are perpetually checking each other, the
+    game is ruled a draw, however.</li>
+
+    <li>It is also forbidden to perpetually harass the same piece
+    other than King (see below).</li>
+
+    <li>But when both sides do it, the game is again ruled a
+    draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The board is sub-divided into zones, and some pieces are not
+  allowed to cross some zone boundaries. Pieces move in general
+  different than their FIDE counterpart. Only the Rook moves truly
+  the same.</p>
+
+  <h3>Perpetual Chasing</h3>
+
+  <p>It is forbidden to perpetually harass the same piece, and when
+  a repeat loop (after 3 repeats) has one side violating this rule,
+  that side will forfeit the game. This is only invoked if there
+  wasn't any perpetual checking in the loop as well. Exact rules
+  for this are quite complex. Basically, when a repeat loop creates
+  a <i>new</i> attack on the same <i>unprotected</i> piece on
+  <i>every</i> move, the move sequence will be considered a
+  perpetual chase. The chasing side then is ruled to lose, but if
+  both sides are chasing, it is a draw. A Rook counts as
+  unprotected against attacks of C or H. On the other hand, being
+  able to capture your attacker (as when equal pieces attack each
+  other) counts as (pre-emptive) protection. Attacks on a Pawn that
+  is still on its own board half, or attacks by a King are never
+  considered chases.</p>
+
+  <p>Only legal moves should be taken into account; i.e. pinned
+  pieces are not considered attackers or protectors. An attack by
+  the same piece is not considered a new one just because the
+  attacking piece moved to another location, e.g. when a Rook moves
+  along the ray of the attack. Note that the above rules do not
+  take into account whether the attacking or protecting captures
+  are good or non-sensical, or if pieces are <i>sufficiently</i>
+  protected against multiple attacks. Even if recapturing would get
+  you mated in one, the piece would still count as protected! Also
+  note that is perfectly allowed to alternately chase different
+  pieces. Even if one of the pieces is a King.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Any piece except a Pawn on the last rank can force Checkmate
+  against a bare King.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>