run tidy over html files; added include for gnu pages
[xboard.git] / whats_new / rules / Great.html
index b50f9c0..cd469e9 100644 (file)
-<html>
-<header>
-<title>Great Shatranj</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Great Shatranj</h1>
-<table cellpadding="20"><tr><td>
-<img src="Great.png">
-<p><i>Captured pieces will be displayed beside the board for promotion choice</i></p>
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-f1, f8: Minister
-<br>
-d1, d8: Great General
-<br>
-g1, g8: High Priestess
-<br>
-a1, a8, j1, j8: Dababba
-<br>
-c1, c8, h1, h8: Elephant
-<br>
-b1, b8, i1, i8: Knight
-<br>
-a1, a8, j1, j8: War Machine
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Great Shatranj</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>Great Shatranj</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td>
+        <img src="Great.png">
 
-<table class="board"><tr><td class="n" id="0x9">
+        <p><i>Captured pieces will be displayed beside the board
+        for promotion choice</i></p>
+      </td>
 
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        f1, f8: Minister<br>
+        d1, d8: Great General<br>
+        g1, g8: High Priestess<br>
+        a1, a8, j1, j8: Dababba<br>
+        c1, c8, h1, h8: Elephant<br>
+        b1, b8, i1, i8: Knight<br>
+        a1, a8, j1, j8: War Machine<br>
+        a2-j2, a7-j7: 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 piece below to see its moves</p>
 
-     </td><td class="n" id="5x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="9x9">
+      <td class="n" id="sq4x9"></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="sq5x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq9x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="6x8">
+      <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="7x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="9x8">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="h">
+      <td class="n" id="sq3x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq9x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="h"></td>
+    </tr>
 
-     </td><td class="n" id="7x7">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="h">
-<img src="sym/orange.png">
-     </td><td class="w">
-Direct leap (capture or non-capture)
-</td></tr><tr><td class="n" id="0x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(-3,6)" onmouseUp="up_click()">
-<img src="sym/WhiteElephant.png">
-     </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" onmouseDown="down_click(-6,6)" onmouseUp="up_click()">
-<img src="sym/WhiteCrownedRook.png">
-     </td><td class="n" id="7x6" onmouseDown="down_click(-7,6)" onmouseUp="up_click()">
-<img src="sym/WhiteCommoner.png">
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="n" id="0x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="w">Direct leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="2x5">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </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">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq3x6" onmousedown="down_click(-3,6)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq6x6" onmousedown="down_click(-6,6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedRook.png"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="n" id="0x4">
+      <td class="n" id="sq7x6" onmousedown="down_click(-7,6)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.png"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,4)" onmouseUp="up_click()">
-<img src="sym/WhiteCrownedBishop.png">
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,4)" onmouseUp="up_click()">
-<img src="sym/WhiteChancellor.png">
-     </td><td class="n" id="5x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="7x4">
+    <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"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq3x5" onmousedown="down_click(3,5)"
+      onmouseup="up_click()"><img src="sym/WhitePrincess.png"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="2x3" onmouseDown="down_click(2,3)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x3">
+      <td class="n" id="sq5x5"></td>
 
-     </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"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="7x3" onmouseDown="down_click(7,3)" onmouseUp="up_click()">
-<img src="sym/WhiteKing.png">
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq9x5"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="2x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteChancellor.png"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq1x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq3x3"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq5x3"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq6x3"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="2x0">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq4x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="n" id="sq6x2"></td>
 
-     </td><td class="n" id="9x0">
+      <td class="n" id="sq7x2"></td>
 
-</td></tr></table>
+      <td class="n" id="sq8x2"></td>
 
-<p id="piece" height="20">:<br>:<br>:<br>:</p>
+      <td class="n" id="sq9x2"></td>
+    </tr>
 
-<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>
-K
-     </td><td>
-Cannot castle
-</td></tr><tr><td>
-General
-     </td><td>
-G
-     </td><td>
-6.5
-     </td><td>
-WDFA
-     </td><td>
-
-</td></tr><tr><td>
-Minister
-     </td><td>
-M
-     </td><td>
-6.5
-     </td><td>
-WDN
-     </td><td>
-
-</td></tr><tr><td>
-High Priestess
-     </td><td>
-H
-     </td><td>
-6.5
-     </td><td>
-FAN
-     </td><td>
-
-</td></tr><tr><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-3
-     </td><td>
-FA
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3.25
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Woody
-     </td><td>
-W
-     </td><td>
-3
-     </td><td>
-WD
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to any other piece that was captured, or to Soldier
-</td></tr><tr><td colspan="5">
-<b>Only available through promotion</b>
-</td></tr><tr><td>
-Soldier
-     </td><td>
-S
-     </td><td>
-3
-     </td><td>
-WF or K
-     </td><td>
-
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>There is no initial double-push, and thus no en-passant capture.</li>
-<li>Pawns promote to a piece chosen from the set of captured pieces, or to Soldier when they reach last rank.
-The chosen piece is then removed from this set.</li>
-</ul>
-<h3>General rules</h3>
-<ul>
-<li>It is not allowed to expose your King to check.</li>
-<li>The game is won by checkmating the opponent's King.</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-<li>If your opponent only has a King at the beginning of your turn, and your king is not yet bare, you win.
-This means that after you capture the last piece, the opponent gets one equalizing turn to recapture yours,
-in which case it would be a draw.</li>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-When a Pawn can be promoted, XBoard first advances it as a Pawn to the promotion square.
-Then it waits for you to complete the move entry by clicking on the piece in the holdings beside the board that you want to promote to.
-Initially there are a number of Soldiers available in the holdings,
-for when you should promote before any of your pieces is captured.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-There are no sliders such as Rook, Bishop or Queen in this game:
-their distant moves have all been replaced by a single two-square jumping move.
-In addition it is more related to Capablanca Chess than to FIDE,
-featuring compounds of Knight and the pieces substituting for Rook and Bishop,
-and the wider board to accomodate them.
-There is no double-push on the Pawns (and thus no e.p. capture),
-and promotion only allows you to regain back a piece that you lost before,
-or one of the stocked Soldier pieces that do not occur in the initial setup.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Elephants are confined to squares of a single color.
-Having Elephants on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As the three strongest pieces (General, Minister and High Priestess) are nearly equal in value, under-promotion is very common.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+    <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>K</td>
+
+      <td>Cannot castle</td>
+    </tr>
+
+    <tr>
+      <td>General</td>
+
+      <td>G</td>
+
+      <td>6.5</td>
+
+      <td>WDFA</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Minister</td>
+
+      <td>M</td>
+
+      <td>6.5</td>
+
+      <td>WDN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>High Priestess</td>
+
+      <td>H</td>
+
+      <td>6.5</td>
+
+      <td>FAN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td>3</td>
+
+      <td>FA</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3.25</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Woody</td>
+
+      <td>W</td>
+
+      <td>3</td>
+
+      <td>WD</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to any other piece that was captured, or to
+      Soldier</td>
+    </tr>
+
+    <tr>
+      <td colspan="5"><b>Only available through promotion</b></td>
+    </tr>
+
+    <tr>
+      <td>Soldier</td>
+
+      <td>S</td>
+
+      <td>3</td>
+
+      <td>WF or K</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>There is no initial double-push, and thus no en-passant
+    capture.</li>
+
+    <li>Pawns promote to a piece chosen from the set of captured
+    pieces, or to Soldier when they reach last rank. The chosen
+    piece is then removed from this set.</li>
+  </ul>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>It is not allowed to expose your King to check.</li>
+
+    <li>The game is won by checkmating the opponent's King.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+
+    <li>If your opponent only has a King at the beginning of your
+    turn, and your king is not yet bare, you win. This means that
+    after you capture the last piece, the opponent gets one
+    equalizing turn to recapture yours, in which case it would be a
+    draw.</li>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>When a Pawn can be promoted, XBoard first advances it as a
+  Pawn to the promotion square. Then it waits for you to complete
+  the move entry by clicking on the piece in the holdings beside
+  the board that you want to promote to. Initially there are a
+  number of Soldiers available in the holdings, for when you should
+  promote before any of your pieces is captured.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>There are no sliders such as Rook, Bishop or Queen in this
+  game: their distant moves have all been replaced by a single
+  two-square jumping move. In addition it is more related to
+  Capablanca Chess than to FIDE, featuring compounds of Knight and
+  the pieces substituting for Rook and Bishop, and the wider board
+  to accomodate them. There is no double-push on the Pawns (and
+  thus no e.p. capture), and promotion only allows you to regain
+  back a piece that you lost before, or one of the stocked Soldier
+  pieces that do not occur in the initial setup.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Elephants are confined to squares of a single color. Having
+  Elephants on both colors compensates this weakness, and is worth
+  an extra 0.5 on top of their added value.</p>
+
+  <p>As the three strongest pieces (General, Minister and High
+  Priestess) are nearly equal in value, under-promotion is very
+  common.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>