run tidy over html files; added include for gnu pages
authorArun Persaud <arun@nubati.net>
Sat, 7 Dec 2013 17:50:14 +0000 (09:50 -0800)
committerArun Persaud <arun@nubati.net>
Sat, 7 Dec 2013 18:44:04 +0000 (10:44 -0800)
according to tidy, id's shouldn't start with a number for html4.
Renaming the ids changed the highlight behavior in firefox. fixed it.

44 files changed:
whats_new/rules/3checks.html
whats_new/rules/ASEAN.html
whats_new/rules/Atomic.html
whats_new/rules/Berolina.html
whats_new/rules/Betza.html
whats_new/rules/CRC.html
whats_new/rules/CWDA.html
whats_new/rules/Capablanca.html
whats_new/rules/Chess.html
whats_new/rules/Chu.html
whats_new/rules/ChuChess.html
whats_new/rules/Courier.html
whats_new/rules/Crazy.html
whats_new/rules/Cylinder.html
whats_new/rules/FRC.html
whats_new/rules/Falcon.html
whats_new/rules/Giveaway.html
whats_new/rules/Gothic.html
whats_new/rules/Grand.html
whats_new/rules/Great.html
whats_new/rules/Janus.html
whats_new/rules/Knightmate.html
whats_new/rules/Lion.html
whats_new/rules/Losers.html
whats_new/rules/Makruk.html
whats_new/rules/Mini.html
whats_new/rules/No.html
whats_new/rules/Seirawan.html
whats_new/rules/Shatranj.html
whats_new/rules/Sho.html
whats_new/rules/Shogi.html
whats_new/rules/Spartan.html
whats_new/rules/Suicide.html
whats_new/rules/Super.html
whats_new/rules/TwoKings.html
whats_new/rules/Wild.html
whats_new/rules/Xiangqi.html
whats_new/rules/chu.js
whats_new/rules/cwda.js
whats_new/rules/index.html
whats_new/rules/move.js
whats_new/rules/moves.css
whats_new/rules/spartan.js
whats_new/rules/template.html

index b34698c..521a98f 100644 (file)
-<html>
-<header>
-<title>Three Checks</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Three Checks</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Three Checks</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>Three Checks</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>It is not allowed to expose your King to capture.</li>
-<li>The game is won by checkmating the opponent's King, <b>or by checking it for the third time</b>.</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-You lose when being checked for the third time.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>It is not allowed to expose your King to capture.</li>
+
+    <li>The game is won by checkmating the opponent's King, <b>or
+    by checking it for the third time</b>.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>You lose when being checked for the third time.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 06c1b5e..fc9e2b3 100644 (file)
-<html>
-<header>
-<title>ASEAN Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>ASEAN (Association of South-East Asean Nations) Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Makruk.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-d1, e8: King
-<br>
-e1, d8: Ferz
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Elephant
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a3-h3, a6-h6: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>ASEAN Chess</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>ASEAN (Association of South-East Asean Nations) Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Makruk.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9">
+        <p>d1, e8: King<br>
+        e1, d8: Ferz<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Elephant<br>
+        b1, b8, g1, g8: Knight<br>
+        a3-h3, a6-h6: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="2x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="3x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="4x9" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq4x9" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></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="h" id="0x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="5x8">
+      <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="6x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x8">
+      <td class="n" id="sq3x8"></td>
 
-</td></tr><tr><td class="h" 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="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="6x7">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="n" id="sq3x7"></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="h" id="0x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="2x6" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,0)" onmouseUp="up_click()">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="8x6">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="n" id="sq2x6" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq3x6" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq4x6" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></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,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="6x5" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="h" id="9x5">
+      <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="h" id="0x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="1x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq3x5" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
+      <td class="n" id="sq4x5" onmousedown="down_click(4,-5)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x5" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq8x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="h"><img src="sym/red.png"></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" 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" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+    <tr>
+      <td class="h" id="sq0x4"></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="sq1x4"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq2x4"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="6x2" onmouseDown="down_click(6,2)" onmouseUp="up_click()">
-<img src="sym/WhiteCommoner.png">
-     </td><td class="n" id="7x2">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="8x2">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq1x3"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="8x1">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq1x2"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq4x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.png"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq7x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq8x2"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="h" id="sq9x2"></td>
+    </tr>
 
-     </td><td class="h" id="9x0">
+    <tr>
+      <td class="h" id="sq0x1"></td>
 
-</td></tr></table>
+      <td class="n" id="sq1x1"></td>
 
-<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>
-
-</td></tr><tr><td>
-Ferz
-     </td><td>
-Q
-     </td><td>
-1.5
-     </td><td>
-F
-     </td><td>
-With Cambodian rules its first move can also be two steps forward
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Elephant
-     </td><td>
-B
-     </td><td>
-2.5
-     </td><td>
-FfW
-     </td><td>
-
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3.25
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Ferz on reaching last rank
-</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 Ferz when they reach last rank; there is no choice.</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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Queen and Bishops are replaced by Ferz and Elephant.
-Pawns start on the third rank.
-Promotion always to Ferz.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Ferz, Elephant or Knight (in addition to your own King).
-Two Knights or two Ferzes cannot do it either.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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></td>
+    </tr>
+
+    <tr>
+      <td>Ferz</td>
+
+      <td>Q</td>
+
+      <td>1.5</td>
+
+      <td>F</td>
+
+      <td>With Cambodian rules its first move can also be two steps
+      forward</td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>B</td>
+
+      <td>2.5</td>
+
+      <td>FfW</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3.25</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Ferz on reaching last rank</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 Ferz when they reach last rank; there is
+    no choice.</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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Queen and Bishops are replaced by Ferz and Elephant. Pawns
+  start on the third rank. Promotion always to Ferz.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Ferz, Elephant or Knight (in addition to your own King).
+  Two Knights or two Ferzes cannot do it either.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 025e648..f055f4c 100644 (file)
-<html>
-<header>
-<title>Atomic Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Atomic Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Atomic Chess</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>Atomic Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>Captures destroy ('explode') both capturer and victim, and also destroy all non-Pawns adjacent to the capture square.
-<li>The game is won by destroying the opponent's King.</li>
-<li>Destroying your own King is not allowed.</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-Pieces explode on capture, destroying everything in the area including themselves.
-You win by destroyig the King rather than checkmating it;
-exposing your King to destruction is not forbidden (just stupid).
-</p>
-<h3>Strategy issues</h3>
-<p>
-Since any capturing piece destroys itself in the explosion, Kings can never capture.
-</p>
-<p>
-A King taking shelter next to the opponent's King (which, after all, cannot capture)
-is immune to capture, as such a capture would destroy your opponent's King in the explosion.
-So many end-games (even KQK) can be drawn by tailing the opponnet's King!
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>Captures destroy ('explode') both capturer and victim, and
+    also destroy all non-Pawns adjacent to the capture square.</li>
+
+    <li>The game is won by destroying the opponent's King.</li>
+
+    <li>Destroying your own King is not allowed.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>Pieces explode on capture, destroying everything in the area
+  including themselves. You win by destroyig the King rather than
+  checkmating it; exposing your King to destruction is not
+  forbidden (just stupid).</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Since any capturing piece destroys itself in the explosion,
+  Kings can never capture.</p>
+
+  <p>A King taking shelter next to the opponent's King (which,
+  after all, cannot capture) is immune to capture, as such a
+  capture would destroy your opponent's King in the explosion. So
+  many end-games (even KQK) can be drawn by tailing the opponnet's
+  King!</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 87bf887..92dc67a 100644 (file)
-<html>
-<header>
-<title>Berolina Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Berolina Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Berolina Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Berolina Chess</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>Berolina Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: Berolina 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8" onmouseDown="down_click(4,8)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="h" id="9x8">
+      <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></tr><tr><td class="h" id="0x7">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq4x8" onmousedown="down_click(4,8)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h">
-<img src="sym/orange.png">
-     </td><td class="w">
-Unblockable leap (capture or non-capture)
-</td></tr><tr><td class="h" id="0x6">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="1x6">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="2x6" onmouseDown="down_click(2,6)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,-6)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="5x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq1x6"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq2x6" onmousedown="down_click(2,6)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq3x6" onmousedown="down_click(3,-6)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" 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"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="h" id="sq9x6"></td>
 
-     </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="h" id="sq0x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq2x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="2x3">
+      <td class="n" id="sq5x5"></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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq6x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq7x5"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x2">
+    <tr>
+      <td class="h" id="sq0x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq5x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="2x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="4x1">
+    <tr>
+      <td class="h" 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="h" id="9x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="5x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="8x0">
-
-     </td><td class="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3.25
-     </td><td>
-
-     </td><td>
-N
-</td></tr><tr><td>
-Berolina Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfFcfW
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (diagonal move, straight capture).</li>
-<li>Pawns can move two squares <i>diagonally</i> ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>A diagonal move to the square skipped by the previous Pawn move is thus <b>not</b> an e.p. capture.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The capture and non-capture move of the Pawns have been swapped. As a result the initial double-push is also diagonal.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3.25</td>
+
+      <td></td>
+
+      <td>N</td>
+    </tr>
+
+    <tr>
+      <td>Berolina Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfFcfW</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (diagonal
+    move, straight capture).</li>
+
+    <li>Pawns can move two squares <i>diagonally</i> ahead from
+    their initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>A diagonal move to the square skipped by the previous Pawn
+    move is thus <b>not</b> an e.p. capture.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The capture and non-capture move of the Pawns have been
+  swapped. As a result the initial double-push is also
+  diagonal.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 20ea851..d64d806 100644 (file)
-<html>
-<header>
-<title>(Extended) Betza notation</title>
-</header>
-<body>
-<h1>Extended Betza notation</h1>
-<p>
-Ralph Betza invented a compact notation to encode moves of a piece,
-which is now in wide-spread use for description of Chess variants.
-This page describes a version of it that has been extended in several ways.
-Some of these extensions were embraced from another proposed extension scheme,
-'<span style="background: #00FFFF;">Bex notation</span>' by David Howe, others are entirely new.
-These new extensions from the original Betza notation are <span style="background: yellow;">marked in yellow</span>.
-</p><p>
-Betza notation decomposes the piece into 'atoms',
-which represent the set of all (8-fold-)symmetry-equivalent moves of a certain distance.
-For example all eight Knight moves, or all diagonal moves of the King.
-Each 'atom' is written as a single capital (e.g. N for the Knight moves),
-which is very efficient when you are dealing with pieces that are maximally symmetric
-(which most pieces indeed are).
-Atoms refer to single unblockable leaps of a certain distance.
-Pieces that can repeat the same leap again and again until they encounter an obstacle
-(sliders or riders, such as Rook)
-are very common.
-Those moves are indicated by writing the number of steps the piece can maximally make behind the atom,
-<span style="background: yellow;">where '0' can be used to indicate 'any number of steps'</span>.
-</p>
-<p>
-The choice to treat moves as sets that go in all directions goes at the expense of the compactness when dealing with asymmetric pieces.
-(This is a cheap price to pay, as asymmetric pieces are much less common than fully symmetric ones.)
-To describe moves of asymmetric pieces Betza notation uses <i>lower-case prefixes</i> to identify which sub-set of the atom we mean.
-Such as f (forward) or r (right), or combinarions of those like fr.
-E.g. fR decribes a 'Rook' that only moves in the forward direction (i.e., the Shogi Lance).
-Lower-case prefixes are also used to specify the move is not a general one
-(i.e. valid as capture and non-capture, the normal situation in Chess-like games),
-but can only be used in limited ways (e.g. capture only, non-jumping, capture after jumping).
-</p>
-<h3>The basic atoms</h3>
-<table cellpadding="20"><tr><td>
-<p>
-The following table describes the most important atoms
-</p>
-<table border="1"><tr><th>
-Atom
-</th><th>
-Vector
-</th><th>
-Piece
-</th></tr><tr bgcolor="00FFFF"><td>
-O
-</td><td>
-(0,0)
-</td><td>
-Null move (Taikyoku-Shogi Lion can do this)
-</td></tr><tr><td>
-W
-</td><td>
-(1,0)
-</td><td>
-Wazir (Courier Chess)
-</td></tr><tr><td>
-F
-</td><td>
-(1,1)
-</td><td>
-Ferz (Shatranj)
-</td></tr><tr><td>
-D
-</td><td>
-(2,0)
-</td><td>
-Dababba
-</td></tr><tr><td>
-A
-</td><td>
-(2,2)
-</td><td>
-Alfil (Shatranj)
-</td></tr><tr><td>
-I
-</td><td>
-(3,0)
-</td><td>
-Tripper
-</td></tr><tr><td>
-L
-</td><td>
-(3,1)
-</td><td>
-Long Knight (aka Camel)
-</td></tr><tr><td>
-J
-</td><td>
-(3,2)
-</td><td>
-Zebra
-</td></tr><tr><td>
-G
-</td><td>
-(3,3)
-</td><td>
-
-</td></tr></table>
-</td><td>
-<p>
-Laid out on the board, (standing at O), <br>the move encoding is as follows:
-<table border="1"><tr><td>
-.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.
-</td></tr><tr><td>
-.</td><td>G</td><td>J</td><td>L</td><td>H</td><td>L</td><td>J</td><td>G</td><td>.
-</td></tr><tr><td>
-.</td><td>J</td><td>A</td><td>N</td><td>D</td><td>N</td><td>A</td><td>J</td><td>.
-</td></tr><tr><td>
-.</td><td>L</td><td>N</td><td>F</td><td>W</td><td>F</td><td>N</td><td>L</td><td>.
-</td></tr><tr><td>
-.</td><td>H</td><td>D</td><td>W</td><td>O</td><td>W</td><td>D</td><td>H</td><td>.
-</td></tr><tr><td>
-.</td><td>L</td><td>N</td><td>F</td><td>W</td><td>F</td><td>N</td><td>L</td><td>.
-</td></tr><tr><td>
-.</td><td>J</td><td>A</td><td>N</td><td>D</td><td>N</td><td>A</td><td>J</td><td>.
-</td></tr><tr><td>
-.</td><td>G</td><td>J</td><td>L</td><td>H</td><td>L</td><td>J</td><td>G</td><td>.
-</td></tr><tr><td>
-.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.</td><td>.
-</td></tr></table>
-</p>
-</td></tr></table>
-<p>
-For longer-range atoms no letters are defined.
-In the rare cases they occur, <span style="background: #00FFFF;">these can be written using the numeric coordinates of their leap vector</span>,
-e.g. (4,1) for the Giraffe leap.
-Note this still implies the move goes in all directions (i.e. (4,1) also means (4,-1), (-4,1), (1,4), ...),
-and thus still does a lot for compactness.
-A piece that only leaps 4 forward and 1 left or right would be an f(4,1).
-</p>
-
-<h3>Modifier prefixes</h3>
-<p>
-The following table lists possible prefixes to the atoms.
-Prefixes can be combined, in which case the sub-sets of move types they correspond to are joined.
-E.g. fb means forward <i>and</i> backward moves (but not sideways).
-So even prefixes with opposite meaning are not really conflicting;
-they could be superfluous, however.
-(E.g. mc would mean both non-capture and capture, which is the default in absence of prefixes anyway.)
-</p>
-<table border="1"><tr><th>
-prefix
-</th><th>
-short for
-</th><th>
-meaning
-</th></tr><tr><th colspan="3">
-Move modality
-</th></tr><tr><td>
-c
-</td><td>
-capture
-</td><td>
-Captures only
-</td></tr><tr><td>
-m
-</td><td>
-move
-</td><td>
-Move but not capture
-</td></tr><tr><th colspan="3">
-Move blocking
-</th></tr><tr><td>
-n
-</td><td>
-non-jumping
-</td><td>
-Cannot jump over occupied square
-</td></tr><tr><td>
-j
-</td><td>
-jump one
-</td><td>
-Must jump exactly one
-</td></tr><tr bgcolor="FFFF00"><td>
-jj
-</td><td>
-jump many
-</td><td>
-Can jump over any number of pieces
-</td></tr><tr><th colspan="3">
-Hopping
-</th></tr><tr><td>
-p
-</td><td>
-Pao (=Canon)
-</td><td>
-<span style="background: #FFFF00;">(Obsolete?)</span> Capture if move jumps over one obstacle, non-capture if it does not jump
-</td></tr><tr><td>
-g
-</td><td>
-Grasshopper
-</td><td>
-<span style="background: #FFFF00;">(Obsolete?)</span> Must land directly behind first obstacle
-</td></tr><tr><td>
-q
-</td><td>
-Circular
-</td><td>
-<span style="background: #FFFF00;">(Obsolete?)</span> Basic step repeated at an angle, until it closes on itself
-</td></tr><tr><td>
-z
-</td><td>
-Zig-zag
-</td><td>
-<span style="background: #FFFF00;">(Obsolete?)</span> Repeat step alternates angle between two values.
-</td></tr><tr><td>
-o
-</td><td>
-
-</td><td>
-wraps around on cylinder board
-</td></tr><tr><th colspan="3">
-directional-subset and other geometry indicators
-</th></tr><tr><td>
-f
-</td><td>
-forward
-</td><td>
-most-forward single or pair of moves of symmetry-equivalent moves
-</td></tr><tr><td>
-b
-</td><td>
-backward
-</td><td>
-most-backward single or pair of moves of symmetry-equivalent moves
-</td></tr><tr><td>
-l
-</td><td>
-left
-</td><td>
-left-most single or pair of moves of symmetry-equivalent moves
-</td></tr><tr><td>
-r
-</td><td>
-right
-</td><td>
-right-most single or pair of moves of symmetry-equivalent moves
-</td></tr><tr><td>
-s
-</td><td>
-sideways
-</td><td>
-short for lr
-</td></tr><tr><td>
-v
-</td><td>
-vertical
-</td><td>
-short for fb
-</td></tr><tr bgcolor="FFFF00"><td>
-a
-</td><td>
-all
-</td><td>
-short for vs (default on atoms specifying complete move, but can be needed in chaining)
-</td></tr><tr><td>
-ff
-</td><td>
-forward
-</td><td>
-obsolete notation for forward-most two of 8 symmetry-equivalent moves
-</td></tr><tr><td>
-fh
-</td><td>
-forward half
-</td><td>
-forward-most four of 8 symmetry-equivalent moves
-</td></tr><tr><td>
-fs
-</td><td>
-sideway-forward
-</td><td>
-fh but not f
-</td></tr><tr><td>
-etc.
-</td><td>
-
-</td><td>
-Similar for b (bb, bh, bs), l and r
-</td></tr><tr bgcolor="00FFFF"><td>
-i
-</td><td>
-initial
-</td><td>
-Initial move only (for pieces that have not moved yet)
-</td></tr><tr bgcolor="FFFF00"><td>
-e
-</td><td>
-equal
-</td><td>
-equal in length to previous step, measured in board steps (see section on chaining)
-</td></tr></table>
-<p>
-For example, fmWfcF is a Pawn: non-captures forward to a W square, captures to the two forward F squares.
-Pretty complicated, but the Pawn is a very complex piece (asymmetric, and divergent capture/non-capture).
-Note that fr and rf are not the same on 'oblique' (= not orthogonal or diagonal) atoms, which have 8 moves,
-and that they might not be what you intuitively think, as fs = fl + fr.
-<h3>Grouping</h3>
-<p>
-<span style="background: #00FFFF;">Grouping of atoms, modifiers and exponents is possible with parentheses</span>.
-This can be done for readability,
-or for overruling operator priorities.
-(fmW)(fcF) might read more easily than fmWfcF.
-The parentheses do not have any meaning in themselves.
-'Distributivity' also works for modifier prefixes:
-m(AB) where m is a string of modifiers and A and B are atoms, (or expressions grouped in parentheses),
-is defined to mean mAmB.
-Some shortcuts for commonly used combinations of atoms exist;
-these can be seen as implicit grouping of the involved atoms.
-</p>
-<table border="1"><tr><th>
-shortcut
-</th><th>
-stands for
-</th><th>
-orthodox piece
-</th></tr><tr><td>
-K
-</td><td>
-WF
-</td><td>
-King
-</td></tr><tr><td>
-B
-</td><td>
-F0 (FF)
-</td><td>
-Bishop
-</td></tr><tr><td>
-R
-</td><td>
-W0 (WW)
-</td><td>
-Rook
-</td></tr><tr><td>
-Q
-</td><td>
-RB
-</td><td>
-Queen
-</td></tr><tr bgcolor="FFFF00"><td>
-C
-</td><td>
-L
-</td><td>
-Camel
-</td></tr><tr bgcolor="FFFF00"><td>
-Z
-</td><td>
-J
-</td><td>
-Zebra
-</td></tr></table>
-
-<h3>Chaining moves</h3>
-<p>
-When a number of atoms is concatenated, like WF, it joins their move sets.
-So the piece described by WF moves either as W or as F, i.e. one step diagonal, or one step orthogonal.
-That means it is the King of orthodox Chess!
-(From the notation you cannot see whether it is royal yet;
-the main purpose of the notation is to convey how it moves.
-<span STYLE="background-color: yellow;">But a 'k' prefix could be used to indicate royalty</span>, when this is of relevance.)
-</p>
-<p>
-It is also possible to specify that certain moves have to be performed sequentially, one after the other.
-For instance because something of importance happens or should be noted on an intermediate square.
-Such as for pieces that can be blocked on squares they cannot visit ('lame leapers'),
-or that have to hop over other pieces in a specific pattern.
-The simplest example of this, however, is repetition of the same step in the same direction,
-as in sliding or riding pieces, such as a Rook.
-The far moves of such a piece can indeed be blocked by an obstacle closer by on their path,
-although it can then always reach that square itself as well.
-Such moves are indicated by 'exponentiation': a number after the atom indicates how often the step may be repeated.
-E.g. F3 would be a piece that slides diagonally (i.e. like a Bishop), upto a maximum of 3 steps.
-To indicate an arbitrary number of steps can be taken, we use 0 (zero) for the exponent.
-(This because infinity is not in the ASCII character set, and 0 would be pointless when taken at face value.)
-So W0 would be the Rook, sliding arbitrarily far orthogonally, and F0 the Bishop.
-(Old notation for this would be WW and FF, but in the extended context these would be troublesome.)
-</p>
-Not all multi-step moves are as regular as simple sliders, however.
-Some 'bent' sliders can turn corners, for instance.
-The 'Griffon' is an example that first moves one step diagonally, and <b>then</b> continues outward as a Rook.
-It does not have to go beyond the corner, though; just like a normal Rook it can make the first step of its move only.
-And if it encounters something on that first step, it is blocked, and never gets to the rooky part of its move.
-To describe this trajectory we cannot use exponentiation, but have to explicitly write the chain: FtR.
-Here the 't' is the chaining operator, that distinguishes this from FR,
-which would mean a piece that steps one diagonally <b>or</b> moves like Rook (a Shogi Dragon Horse).
-The 't' is because of 'and <b>t</b>hen', but also because the move could be <b>t</b>erminated at that point,
-and there is no requirement to visit the later parts of the specified trajectory.
-</p>
-<p>
-There are other forms of chaining, where the 'connecting square' can not be visited.
-(I.e. no termination there.)
-The Xiangqi Horse moves one orthogonal step, and then (without stopping) one step diagonally outward,
-mimicking the move of a Knight, but blockable on the intermediate square.
-This is written as the chain W-F.
-The chaining operator '-' indicates the move cannot be terminated at that point (ending on the connection square),
-but must continue.
-If it cannot, because the square was occupied, the move described by the chain is considered blocked, and cannot be made.
-</p>
-<table border="1"><tr><th colspan="3">
-Overview of chaining operators
-</th></tr>
-<tr><td>t</td><td>then</td><td>terminate on connection square (if empty or enemy) or continue (if empty).</td></tr>
-<tr bgcolor="FFFF00"><td>-</td><td>block</td><td>must continue if connection square empty; otherwise entire path is considered blocked</td></tr>
-<tr bgcolor="FFFF00"><td>+</td><td>hop</td><td>connection square must be occupied and remains untouched; move must go on from there</td></tr>
-<tr bgcolor="FFFF00"><td>?</td><td>own</td><td>connection square must contain own piece and remains untouched; move must go on from there</td></tr>
-<tr bgcolor="FFFF00"><td>!</td><td>foe</td><td>connection square must contain enemy and remains untouched; move must go on from there</td></tr>
-<tr bgcolor="FFFF00"><td>x</td><td>capture</td><td>connection square must contain enemy, which is captured; move must go on from there</td></tr>
-<tr bgcolor="FFFF00"><td>d</td><td>destroy</td><td>connection square must be occupied, friend or foe there is destroyed; must go on</td></tr>
-<tr bgcolor="FFFF00"><td>y</td><td>split</td><td>connection square is one step before first obstacle; must continue from there</td></tr>
-</table>
-<p>
-Chaining implies continuation in the most similar direction.
-Should you need to deviate from that, e.g. because the trajectory doubles back on itself,
-directional modifiers must be used.
-The continuation steps are to be described in a coordinate system relative to the previous step, however.
-So W-rW-lW makes one step, (say moving North), then turns right for another step (moving East), and then turns left compared to that second step,
-meaning it is moving North again!
-So in the end you arrive at (1,2), over (0,1) and (1,1).
-This is a Knight move that can only be made if both the intermediate squares are empty,
-even worse than the Xiangqi Horse (which at least did not care about (1,1))!
-The latter would be described by W-F.
-The F after '-' would by default mean fF, and in the orientation of the preceding orthogonal step
-this would imply a pair of outward moves, fl + fr.
-</p>
-<p>
-Some examples that use the other operators:
-Q+K is the Grasshopper: it must move as Queen to an occupied square (the 'support'),
-(the first one it encounters, as Queens do not jump!),
-and then continue with a single K step in the same direction (leaving the occupant of the square alone),
-to land on the square directly behind the support.
-where it can capture or just move.
-mRcR+R is the Xiangqi Cannon: the first mR specifies its non-capture move, which is that of a normal Rook.
-The concatenated cR+R is the capturing alternative;
-it moves as R to an occupied square, and then continues as R in the same direction for a capture.
-Note that the 'c' prefix applies to the complete R+R path (a once jumping Rook);
-the operator priorities are such that the binary operators t-+xdy couple more tightly than the prefix modifiers mc.
-The latter are only allowed in front of a complete path, to specify what you can do at the end of it,
-and not on individual steps of the path, where the chaining operators already specify this.
-</p>
-<h3>Weird captures</h3>
-<p>
-The x operator allows description of pieces with unconventional capture,
-as it specifies moving away from the capture square.
-Normal in Chess is of course that you only captured what was on the square you end on.
-But even in orthodox Chess e.p. capture exists as an exception to that.
-It could be written as frmWxlW, which, as we have seen, means frm(WxlW)
-This expreses capture through a W step, and then turning left for a second W step,
-so that overall you make an F step in an L form.
-The frm prefix to this F step means that it can not capture <i>on the final square</i>
-(the Pawn in e.p. capture always goes to an empty square),
-to your forward right.
-I.e. you started moving right, then turned left to move forward.
-So the continuation square you pass over to remove the Pawn is to your right.
-(There is no way to express that you can only do this to Pawns, however, let alone to Pawns that just made a double push.)
-</p>
-<p>
-This shows the general encoding strategy: if you capture pieces not on your destination square, as 'side effect' to the move,
-you lay out a path that tramples all the pieces that are captured, so that the sub-steps are all normal replacement captures.
-E.g. a Checker would be fmFfmFxF. There the fmF part is the non-capture move,
-but the interesting part is the capture:
-one step diagonal (which must be to an occupied square, which we capture),
-and then straight on (which is now 'forward' in the local frame of reference set up by the first step)
-to the next square, for an overall A step.
-This step must be fmA, i.e. in one of the forward diagonal directions, not capturing anything on the square where it lands.
-'Rifle capture' by a Rook would be RxebR, i.e. first capture something in the normal way,
-and then manditorily withdraw in the direction from which you came (b) by an R move of the same length.
-No overall move, but the victim is gone!
-A Ultima Withdrawer, which destroys the adjacent piece from which it moves away, would be written as
-mQmKxbK-Q. The capture part, m(KxbK-Q) specifies capture to the adjacent piece, reversing that step (b) to your square of origin,
-and then mandatorily continuing in that direction with a Queen non-capture move (the victim already in your pocket).
-The hit-and-run or double capture of a Lion would be KxaK: capture the adjacent piece,
-after which you must continue by another King step in any direction relative to the first, capturing a second victim or just moving.
-ven the rifle capture (igui) is included in this.
-Its turn-passing move would be K-bK.
-Which is different from O, because it can only be done if the Lion is adacent to an empty square,
-while a piece that has an O atom can pass uncondiionally.
-For definiteness, when directional modifiers apply to a path that results in a return to the starting square,
-they will be referenced to the direction of the first step of the path.
-</p>
-<h3>More about exponentiation</h3>
-<p>
-Exponentiation by default implies repeated application of the 't' operator.
-But it can be used to indicate repeate application of other operators too.
-<span style="background: #FFFF00;">We define AmN, with A an atom or a group within parentheses, m a string of modifiers, and N a number,
-to mean AmAmAm...mA with N factors A and N-1 operators between them</span>.
-If the modifier string m does not contain one of the chaining operators, it is prefixed with the default 't'.
-If it does not include any directional modifiers, it is suffixed with 'f'.
-So W3 means WtfWtfW, 1 to 3 orthogonal steps in the same direction (which is what the 'f' specifies).
-But W-3 would mean W-fW-fW, which is exactly 3 such steps.
-And Wx3 would be exactly 3 steps where the first 2 mandatorily capture.
-</p>
-<p>
-By including directonal indicators, you can describe curved trajectories.
-Nrf8 would mean NtrfNtrfN..., upto 8 Knight moves, each consecutive move bending ~45 degrees right from the previous one
-(because that is what rf means; the first opportnity to the right that is not straight ahead).
-This describes the Rose!
-Circular riders fit into the system, and there is no need for a separate prefix to describe them.
-With grouping you can do more: (FtlF)r0 expands to FtlFtrFtlFtrFtl..., an arbitrary number of diagonal steps,
-that alternately turn 90 degrees left or right.
-In other words, the Crooked Bishop.
-There is also no real need for the z prefix in this extended Betza notation.
-The exponentiation can describe it much more precisely,
-specifying exactly how Crooked it is.
-</p>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>(Extended) Betza notation</title>
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
+
+  <h1>Extended Betza notation</h1>
+
+  <p>Ralph Betza invented a compact notation to encode moves of a
+  piece, which is now in wide-spread use for description of Chess
+  variants. This page describes a version of it that has been
+  extended in several ways. Some of these extensions were embraced
+  from another proposed extension scheme, '<span style=
+  "background: #00FFFF;">Bex notation</span>' by David Howe, others
+  are entirely new. These new extensions from the original Betza
+  notation are <span style="background: yellow;">marked in
+  yellow</span>.</p>
+
+  <p>Betza notation decomposes the piece into 'atoms', which
+  represent the set of all (8-fold-)symmetry-equivalent moves of a
+  certain distance. For example all eight Knight moves, or all
+  diagonal moves of the King. Each 'atom' is written as a single
+  capital (e.g. N for the Knight moves), which is very efficient
+  when you are dealing with pieces that are maximally symmetric
+  (which most pieces indeed are). Atoms refer to single unblockable
+  leaps of a certain distance. Pieces that can repeat the same leap
+  again and again until they encounter an obstacle (sliders or
+  riders, such as Rook) are very common. Those moves are indicated
+  by writing the number of steps the piece can maximally make
+  behind the atom, <span style="background: yellow;">where '0' can
+  be used to indicate 'any number of steps'</span>.</p>
+
+  <p>The choice to treat moves as sets that go in all directions
+  goes at the expense of the compactness when dealing with
+  asymmetric pieces. (This is a cheap price to pay, as asymmetric
+  pieces are much less common than fully symmetric ones.) To
+  describe moves of asymmetric pieces Betza notation uses
+  <i>lower-case prefixes</i> to identify which sub-set of the atom
+  we mean. Such as f (forward) or r (right), or combinarions of
+  those like fr. E.g. fR decribes a 'Rook' that only moves in the
+  forward direction (i.e., the Shogi Lance). Lower-case prefixes
+  are also used to specify the move is not a general one (i.e.
+  valid as capture and non-capture, the normal situation in
+  Chess-like games), but can only be used in limited ways (e.g.
+  capture only, non-jumping, capture after jumping).</p>
+
+  <h3>The basic atoms</h3>
+
+  <table cellpadding="20">
+    <tr>
+      <td>
+        <p>The following table describes the most important
+        atoms</p>
+
+        <table border="1">
+          <tr>
+            <th>Atom</th>
+
+            <th>Vector</th>
+
+            <th>Piece</th>
+          </tr>
+
+          <tr bgcolor="#00FFFF">
+            <td>O</td>
+
+            <td>(0,0)</td>
+
+            <td>Null move (Taikyoku-Shogi Lion can do this)</td>
+          </tr>
+
+          <tr>
+            <td>W</td>
+
+            <td>(1,0)</td>
+
+            <td>Wazir (Courier Chess)</td>
+          </tr>
+
+          <tr>
+            <td>F</td>
+
+            <td>(1,1)</td>
+
+            <td>Ferz (Shatranj)</td>
+          </tr>
+
+          <tr>
+            <td>D</td>
+
+            <td>(2,0)</td>
+
+            <td>Dababba</td>
+          </tr>
+
+          <tr>
+            <td>A</td>
+
+            <td>(2,2)</td>
+
+            <td>Alfil (Shatranj)</td>
+          </tr>
+
+          <tr>
+            <td>I</td>
+
+            <td>(3,0)</td>
+
+            <td>Tripper</td>
+          </tr>
+
+          <tr>
+            <td>L</td>
+
+            <td>(3,1)</td>
+
+            <td>Long Knight (aka Camel)</td>
+          </tr>
+
+          <tr>
+            <td>J</td>
+
+            <td>(3,2)</td>
+
+            <td>Zebra</td>
+          </tr>
+
+          <tr>
+            <td>G</td>
+
+            <td>(3,3)</td>
+
+            <td></td>
+          </tr>
+        </table>
+      </td>
+
+      <td>
+        <p>Laid out on the board, (standing at O),<br>
+        the move encoding is as follows:</p>
+
+        <table border="1">
+          <tr>
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>G</td>
+
+            <td>J</td>
+
+            <td>L</td>
+
+            <td>H</td>
+
+            <td>L</td>
+
+            <td>J</td>
+
+            <td>G</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>J</td>
+
+            <td>A</td>
+
+            <td>N</td>
+
+            <td>D</td>
+
+            <td>N</td>
+
+            <td>A</td>
+
+            <td>J</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>L</td>
+
+            <td>N</td>
+
+            <td>F</td>
+
+            <td>W</td>
+
+            <td>F</td>
+
+            <td>N</td>
+
+            <td>L</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>H</td>
+
+            <td>D</td>
+
+            <td>W</td>
+
+            <td>O</td>
+
+            <td>W</td>
+
+            <td>D</td>
+
+            <td>H</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>L</td>
+
+            <td>N</td>
+
+            <td>F</td>
+
+            <td>W</td>
+
+            <td>F</td>
+
+            <td>N</td>
+
+            <td>L</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>J</td>
+
+            <td>A</td>
+
+            <td>N</td>
+
+            <td>D</td>
+
+            <td>N</td>
+
+            <td>A</td>
+
+            <td>J</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>G</td>
+
+            <td>J</td>
+
+            <td>L</td>
+
+            <td>H</td>
+
+            <td>L</td>
+
+            <td>J</td>
+
+            <td>G</td>
+
+            <td>.</td>
+          </tr>
+
+          <tr>
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+
+            <td>.</td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+
+  <p>For longer-range atoms no letters are defined. In the rare
+  cases they occur, <span style="background: #00FFFF;">these can be
+  written using the numeric coordinates of their leap
+  vector</span>, e.g. (4,1) for the Giraffe leap. Note this still
+  implies the move goes in all directions (i.e. (4,1) also means
+  (4,-1), (-4,1), (1,4), ...), and thus still does a lot for
+  compactness. A piece that only leaps 4 forward and 1 left or
+  right would be an f(4,1).</p>
+
+  <h3>Modifier prefixes</h3>
+
+  <p>The following table lists possible prefixes to the atoms.
+  Prefixes can be combined, in which case the sub-sets of move
+  types they correspond to are joined. E.g. fb means forward
+  <i>and</i> backward moves (but not sideways). So even prefixes
+  with opposite meaning are not really conflicting; they could be
+  superfluous, however. (E.g. mc would mean both non-capture and
+  capture, which is the default in absence of prefixes anyway.)</p>
+
+  <table border="1">
+    <tr>
+      <th>prefix</th>
+
+      <th>short for</th>
+
+      <th>meaning</th>
+    </tr>
+
+    <tr>
+      <th colspan="3">Move modality</th>
+    </tr>
+
+    <tr>
+      <td>c</td>
+
+      <td>capture</td>
+
+      <td>Captures only</td>
+    </tr>
+
+    <tr>
+      <td>m</td>
+
+      <td>move</td>
+
+      <td>Move but not capture</td>
+    </tr>
+
+    <tr>
+      <th colspan="3">Move blocking</th>
+    </tr>
+
+    <tr>
+      <td>n</td>
+
+      <td>non-jumping</td>
+
+      <td>Cannot jump over occupied square</td>
+    </tr>
+
+    <tr>
+      <td>j</td>
+
+      <td>jump one</td>
+
+      <td>Must jump exactly one</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>jj</td>
+
+      <td>jump many</td>
+
+      <td>Can jump over any number of pieces</td>
+    </tr>
+
+    <tr>
+      <th colspan="3">Hopping</th>
+    </tr>
+
+    <tr>
+      <td>p</td>
+
+      <td>Pao (=Canon)</td>
+
+      <td><span style="background: #FFFF00;">(Obsolete?)</span>
+      Capture if move jumps over one obstacle, non-capture if it
+      does not jump</td>
+    </tr>
+
+    <tr>
+      <td>g</td>
+
+      <td>Grasshopper</td>
+
+      <td><span style="background: #FFFF00;">(Obsolete?)</span>
+      Must land directly behind first obstacle</td>
+    </tr>
+
+    <tr>
+      <td>q</td>
+
+      <td>Circular</td>
+
+      <td><span style="background: #FFFF00;">(Obsolete?)</span>
+      Basic step repeated at an angle, until it closes on
+      itself</td>
+    </tr>
+
+    <tr>
+      <td>z</td>
+
+      <td>Zig-zag</td>
+
+      <td><span style="background: #FFFF00;">(Obsolete?)</span>
+      Repeat step alternates angle between two values.</td>
+    </tr>
+
+    <tr>
+      <td>o</td>
+
+      <td></td>
+
+      <td>wraps around on cylinder board</td>
+    </tr>
+
+    <tr>
+      <th colspan="3">directional-subset and other geometry
+      indicators</th>
+    </tr>
+
+    <tr>
+      <td>f</td>
+
+      <td>forward</td>
+
+      <td>most-forward single or pair of moves of
+      symmetry-equivalent moves</td>
+    </tr>
+
+    <tr>
+      <td>b</td>
+
+      <td>backward</td>
+
+      <td>most-backward single or pair of moves of
+      symmetry-equivalent moves</td>
+    </tr>
+
+    <tr>
+      <td>l</td>
+
+      <td>left</td>
+
+      <td>left-most single or pair of moves of symmetry-equivalent
+      moves</td>
+    </tr>
+
+    <tr>
+      <td>r</td>
+
+      <td>right</td>
+
+      <td>right-most single or pair of moves of symmetry-equivalent
+      moves</td>
+    </tr>
+
+    <tr>
+      <td>s</td>
+
+      <td>sideways</td>
+
+      <td>short for lr</td>
+    </tr>
+
+    <tr>
+      <td>v</td>
+
+      <td>vertical</td>
+
+      <td>short for fb</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>a</td>
+
+      <td>all</td>
+
+      <td>short for vs (default on atoms specifying complete move,
+      but can be needed in chaining)</td>
+    </tr>
+
+    <tr>
+      <td>ff</td>
+
+      <td>forward</td>
+
+      <td>obsolete notation for forward-most two of 8
+      symmetry-equivalent moves</td>
+    </tr>
+
+    <tr>
+      <td>fh</td>
+
+      <td>forward half</td>
+
+      <td>forward-most four of 8 symmetry-equivalent moves</td>
+    </tr>
+
+    <tr>
+      <td>fs</td>
+
+      <td>sideway-forward</td>
+
+      <td>fh but not f</td>
+    </tr>
+
+    <tr>
+      <td>etc.</td>
+
+      <td></td>
+
+      <td>Similar for b (bb, bh, bs), l and r</td>
+    </tr>
+
+    <tr bgcolor="#00FFFF">
+      <td>i</td>
+
+      <td>initial</td>
+
+      <td>Initial move only (for pieces that have not moved
+      yet)</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>e</td>
+
+      <td>equal</td>
+
+      <td>equal in length to previous step, measured in board steps
+      (see section on chaining)</td>
+    </tr>
+  </table>
+
+  <p>For example, fmWfcF is a Pawn: non-captures forward to a W
+  square, captures to the two forward F squares. Pretty
+  complicated, but the Pawn is a very complex piece (asymmetric,
+  and divergent capture/non-capture). Note that fr and rf are not
+  the same on 'oblique' (= not orthogonal or diagonal) atoms, which
+  have 8 moves, and that they might not be what you intuitively
+  think, as fs = fl + fr.</p>
+
+  <h3>Grouping</h3>
+
+  <p><span style="background: #00FFFF;">Grouping of atoms,
+  modifiers and exponents is possible with parentheses</span>. This
+  can be done for readability, or for overruling operator
+  priorities. (fmW)(fcF) might read more easily than fmWfcF. The
+  parentheses do not have any meaning in themselves.
+  'Distributivity' also works for modifier prefixes: m(AB) where m
+  is a string of modifiers and A and B are atoms, (or expressions
+  grouped in parentheses), is defined to mean mAmB. Some shortcuts
+  for commonly used combinations of atoms exist; these can be seen
+  as implicit grouping of the involved atoms.</p>
+
+  <table border="1">
+    <tr>
+      <th>shortcut</th>
+
+      <th>stands for</th>
+
+      <th>orthodox piece</th>
+    </tr>
+
+    <tr>
+      <td>K</td>
+
+      <td>WF</td>
+
+      <td>King</td>
+    </tr>
+
+    <tr>
+      <td>B</td>
+
+      <td>F0 (FF)</td>
+
+      <td>Bishop</td>
+    </tr>
+
+    <tr>
+      <td>R</td>
+
+      <td>W0 (WW)</td>
+
+      <td>Rook</td>
+    </tr>
+
+    <tr>
+      <td>Q</td>
+
+      <td>RB</td>
+
+      <td>Queen</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>C</td>
+
+      <td>L</td>
+
+      <td>Camel</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>Z</td>
+
+      <td>J</td>
+
+      <td>Zebra</td>
+    </tr>
+  </table>
+
+  <h3>Chaining moves</h3>
+
+  <p>When a number of atoms is concatenated, like WF, it joins
+  their move sets. So the piece described by WF moves either as W
+  or as F, i.e. one step diagonal, or one step orthogonal. That
+  means it is the King of orthodox Chess! (From the notation you
+  cannot see whether it is royal yet; the main purpose of the
+  notation is to convey how it moves. <span style=
+  "background-color: yellow;">But a 'k' prefix could be used to
+  indicate royalty</span>, when this is of relevance.)</p>
+
+  <p>It is also possible to specify that certain moves have to be
+  performed sequentially, one after the other. For instance because
+  something of importance happens or should be noted on an
+  intermediate square. Such as for pieces that can be blocked on
+  squares they cannot visit ('lame leapers'), or that have to hop
+  over other pieces in a specific pattern. The simplest example of
+  this, however, is repetition of the same step in the same
+  direction, as in sliding or riding pieces, such as a Rook. The
+  far moves of such a piece can indeed be blocked by an obstacle
+  closer by on their path, although it can then always reach that
+  square itself as well. Such moves are indicated by
+  'exponentiation': a number after the atom indicates how often the
+  step may be repeated. E.g. F3 would be a piece that slides
+  diagonally (i.e. like a Bishop), upto a maximum of 3 steps. To
+  indicate an arbitrary number of steps can be taken, we use 0
+  (zero) for the exponent. (This because infinity is not in the
+  ASCII character set, and 0 would be pointless when taken at face
+  value.) So W0 would be the Rook, sliding arbitrarily far
+  orthogonally, and F0 the Bishop. (Old notation for this would be
+  WW and FF, but in the extended context these would be
+  troublesome.)</p>Not all multi-step moves are as regular as
+  simple sliders, however. Some 'bent' sliders can turn corners,
+  for instance. The 'Griffon' is an example that first moves one
+  step diagonally, and <b>then</b> continues outward as a Rook. It
+  does not have to go beyond the corner, though; just like a normal
+  Rook it can make the first step of its move only. And if it
+  encounters something on that first step, it is blocked, and never
+  gets to the rooky part of its move. To describe this trajectory
+  we cannot use exponentiation, but have to explicitly write the
+  chain: FtR. Here the 't' is the chaining operator, that
+  distinguishes this from FR, which would mean a piece that steps
+  one diagonally <b>or</b> moves like Rook (a Shogi Dragon Horse).
+  The 't' is because of 'and <b>t</b>hen', but also because the
+  move could be <b>t</b>erminated at that point, and there is no
+  requirement to visit the later parts of the specified trajectory.
+
+  <p>There are other forms of chaining, where the 'connecting
+  square' can not be visited. (I.e. no termination there.) The
+  Xiangqi Horse moves one orthogonal step, and then (without
+  stopping) one step diagonally outward, mimicking the move of a
+  Knight, but blockable on the intermediate square. This is written
+  as the chain W-F. The chaining operator '-' indicates the move
+  cannot be terminated at that point (ending on the connection
+  square), but must continue. If it cannot, because the square was
+  occupied, the move described by the chain is considered blocked,
+  and cannot be made.</p>
+
+  <table border="1">
+    <tr>
+      <th colspan="3">Overview of chaining operators</th>
+    </tr>
+
+    <tr>
+      <td>t</td>
+
+      <td>then</td>
+
+      <td>terminate on connection square (if empty or enemy) or
+      continue (if empty).</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>-</td>
+
+      <td>block</td>
+
+      <td>must continue if connection square empty; otherwise
+      entire path is considered blocked</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>+</td>
+
+      <td>hop</td>
+
+      <td>connection square must be occupied and remains untouched;
+      move must go on from there</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>?</td>
+
+      <td>own</td>
+
+      <td>connection square must contain own piece and remains
+      untouched; move must go on from there</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>!</td>
+
+      <td>foe</td>
+
+      <td>connection square must contain enemy and remains
+      untouched; move must go on from there</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>x</td>
+
+      <td>capture</td>
+
+      <td>connection square must contain enemy, which is captured;
+      move must go on from there</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>d</td>
+
+      <td>destroy</td>
+
+      <td>connection square must be occupied, friend or foe there
+      is destroyed; must go on</td>
+    </tr>
+
+    <tr bgcolor="#FFFF00">
+      <td>y</td>
+
+      <td>split</td>
+
+      <td>connection square is one step before first obstacle; must
+      continue from there</td>
+    </tr>
+  </table>
+
+  <p>Chaining implies continuation in the most similar direction.
+  Should you need to deviate from that, e.g. because the trajectory
+  doubles back on itself, directional modifiers must be used. The
+  continuation steps are to be described in a coordinate system
+  relative to the previous step, however. So W-rW-lW makes one
+  step, (say moving North), then turns right for another step
+  (moving East), and then turns left compared to that second step,
+  meaning it is moving North again! So in the end you arrive at
+  (1,2), over (0,1) and (1,1). This is a Knight move that can only
+  be made if both the intermediate squares are empty, even worse
+  than the Xiangqi Horse (which at least did not care about (1,1))!
+  The latter would be described by W-F. The F after '-' would by
+  default mean fF, and in the orientation of the preceding
+  orthogonal step this would imply a pair of outward moves, fl +
+  fr.</p>
+
+  <p>Some examples that use the other operators: Q+K is the
+  Grasshopper: it must move as Queen to an occupied square (the
+  'support'), (the first one it encounters, as Queens do not
+  jump!), and then continue with a single K step in the same
+  direction (leaving the occupant of the square alone), to land on
+  the square directly behind the support. where it can capture or
+  just move. mRcR+R is the Xiangqi Cannon: the first mR specifies
+  its non-capture move, which is that of a normal Rook. The
+  concatenated cR+R is the capturing alternative; it moves as R to
+  an occupied square, and then continues as R in the same direction
+  for a capture. Note that the 'c' prefix applies to the complete
+  R+R path (a once jumping Rook); the operator priorities are such
+  that the binary operators t-+xdy couple more tightly than the
+  prefix modifiers mc. The latter are only allowed in front of a
+  complete path, to specify what you can do at the end of it, and
+  not on individual steps of the path, where the chaining operators
+  already specify this.</p>
+
+  <h3>Weird captures</h3>
+
+  <p>The x operator allows description of pieces with
+  unconventional capture, as it specifies moving away from the
+  capture square. Normal in Chess is of course that you only
+  captured what was on the square you end on. But even in orthodox
+  Chess e.p. capture exists as an exception to that. It could be
+  written as frmWxlW, which, as we have seen, means frm(WxlW) This
+  expreses capture through a W step, and then turning left for a
+  second W step, so that overall you make an F step in an L form.
+  The frm prefix to this F step means that it can not capture <i>on
+  the final square</i> (the Pawn in e.p. capture always goes to an
+  empty square), to your forward right. I.e. you started moving
+  right, then turned left to move forward. So the continuation
+  square you pass over to remove the Pawn is to your right. (There
+  is no way to express that you can only do this to Pawns, however,
+  let alone to Pawns that just made a double push.)</p>
+
+  <p>This shows the general encoding strategy: if you capture
+  pieces not on your destination square, as 'side effect' to the
+  move, you lay out a path that tramples all the pieces that are
+  captured, so that the sub-steps are all normal replacement
+  captures. E.g. a Checker would be fmFfmFxF. There the fmF part is
+  the non-capture move, but the interesting part is the capture:
+  one step diagonal (which must be to an occupied square, which we
+  capture), and then straight on (which is now 'forward' in the
+  local frame of reference set up by the first step) to the next
+  square, for an overall A step. This step must be fmA, i.e. in one
+  of the forward diagonal directions, not capturing anything on the
+  square where it lands. 'Rifle capture' by a Rook would be RxebR,
+  i.e. first capture something in the normal way, and then
+  manditorily withdraw in the direction from which you came (b) by
+  an R move of the same length. No overall move, but the victim is
+  gone! A Ultima Withdrawer, which destroys the adjacent piece from
+  which it moves away, would be written as mQmKxbK-Q. The capture
+  part, m(KxbK-Q) specifies capture to the adjacent piece,
+  reversing that step (b) to your square of origin, and then
+  mandatorily continuing in that direction with a Queen non-capture
+  move (the victim already in your pocket). The hit-and-run or
+  double capture of a Lion would be KxaK: capture the adjacent
+  piece, after which you must continue by another King step in any
+  direction relative to the first, capturing a second victim or
+  just moving. ven the rifle capture (igui) is included in this.
+  Its turn-passing move would be K-bK. Which is different from O,
+  because it can only be done if the Lion is adacent to an empty
+  square, while a piece that has an O atom can pass uncondiionally.
+  For definiteness, when directional modifiers apply to a path that
+  results in a return to the starting square, they will be
+  referenced to the direction of the first step of the path.</p>
+
+  <h3>More about exponentiation</h3>
+
+  <p>Exponentiation by default implies repeated application of the
+  't' operator. But it can be used to indicate repeate application
+  of other operators too. <span style="background: #FFFF00;">We
+  define AmN, with A an atom or a group within parentheses, m a
+  string of modifiers, and N a number, to mean AmAmAm...mA with N
+  factors A and N-1 operators between them</span>. If the modifier
+  string m does not contain one of the chaining operators, it is
+  prefixed with the default 't'. If it does not include any
+  directional modifiers, it is suffixed with 'f'. So W3 means
+  WtfWtfW, 1 to 3 orthogonal steps in the same direction (which is
+  what the 'f' specifies). But W-3 would mean W-fW-fW, which is
+  exactly 3 such steps. And Wx3 would be exactly 3 steps where the
+  first 2 mandatorily capture.</p>
+
+  <p>By including directonal indicators, you can describe curved
+  trajectories. Nrf8 would mean NtrfNtrfN..., upto 8 Knight moves,
+  each consecutive move bending ~45 degrees right from the previous
+  one (because that is what rf means; the first opportnity to the
+  right that is not straight ahead). This describes the Rose!
+  Circular riders fit into the system, and there is no need for a
+  separate prefix to describe them. With grouping you can do more:
+  (FtlF)r0 expands to FtlFtrFtlFtrFtl..., an arbitrary number of
+  diagonal steps, that alternately turn 90 degrees left or right.
+  In other words, the Crooked Bishop. There is also no real need
+  for the z prefix in this extended Betza notation. The
+  exponentiation can describe it much more precisely, specifying
+  exactly how Crooked it is.</p>
+
+ </div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 6b69c3a..14c38a8 100644 (file)
-<html>
-<header>
-<title>CRC</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Capablanca Random Chess (CRC)</h1>
-<table cellpadding="20"><tr><td>
-<img src="CRC.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-There is no fixed setup;
-the back-rank pieces are randomly shuffled with certain restrictions.
-Black's setup is the mirror image of white's, though.
-Both sides have:
-</p><p>
-1 King
-<br>
-1 Queen
-<br>
-1 Chancellor
-<br>
-1 Archbishop
-<br>
-2 Rooks
-<br>
-2 Bishops
-<br>
-2 Knights
-<br>
-a2-j2, a7-j7: Pawns
-</p><p>
-The Bishops must start on different colors.
-The King must start between the Rooks.
-It has been suggested the Bishops should also not start next to each other.
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>CRC</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>Capablanca Random Chess (CRC)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="CRC.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(0,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>There is no fixed setup; the back-rank pieces are
+        randomly shuffled with certain restrictions. Black's setup
+        is the mirror image of white's, though. Both sides
+        have:</p>
 
-     </td><td class="n" id="3x9">
+        <p>1 King<br>
+        1 Queen<br>
+        1 Chancellor<br>
+        1 Archbishop<br>
+        2 Rooks<br>
+        2 Bishops<br>
+        2 Knights<br>
+        a2-j2, a7-j7: Pawns</p>
 
-     </td><td class="n" id="4x9">
+        <p>The Bishops must start on different colors. The King
+        must start between the Rooks. It has been suggested the
+        Bishops should also not start next to each other.</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,-9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="7x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="8x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(0,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="9x9" onmouseDown="down_click(9,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </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="sq1x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,-9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq9x9" onmousedown="down_click(9,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="9x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <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="1x7">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq8x8"></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 class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="1x6">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="n" id="sq7x7"></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="n" id="sq8x7"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="4x5">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.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="sq6x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
-<img src="sym/WhiteMarshall.png">
-     </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"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq4x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq5x5"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq6x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="6x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq3x4"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteMarshall.png"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="7x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </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>
-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>
-Can castle with Rook, moving 3 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Chancellor
-     </td><td>
-C
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-ArchBishop
-     </td><td>
-A
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move to the c1/c8 or i1/i8 in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square on the other side next to the King.
-This is only allowed if all squares traveled through by King and Rook are empty (after their removal),
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<p>
-You can use the New Shuffle dialog to control the randomization of the initial position.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The Chancellor and Archbishop pieces are extra, and the board is expanded to accomodate them.
-Castling is generalized to allow it with non-standard placement of King and Rooks.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-The Archbishop can force checkmate against a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Chancellor and Queen are nearly equal in value to Queen, under-promotion is very common,
-and there is virtually never any need to promote to R, B or N.
-</p>
-<p>
-The super-pieces (Q, C, A) devaluate by the presence of lower-valued opponent pieces.
-As a result trading Q for R + B is in general a good trade when you still have both J,
-as the latter gain in value by eliminating the opponent's R and B,
-which is more compensation than the intrinsic value differene between Q and R + B.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+    <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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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>Can castle with Rook, moving 3 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Chancellor</td>
+
+      <td>C</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>ArchBishop</td>
+
+      <td>A</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move to the c1/c8 or
+  i1/i8 in the direction of a Rook that has not moved before, in
+  which case that Rook is moved to the square on the other side
+  next to the King. This is only allowed if all squares traveled
+  through by King and Rook are empty (after their removal), when
+  the King is not in check on the square it came from, and would
+  not be in check on any of the squares it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <p>You can use the New Shuffle dialog to control the
+  randomization of the initial position.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Chancellor and Archbishop pieces are extra, and the board
+  is expanded to accomodate them. Castling is generalized to allow
+  it with non-standard placement of King and Rooks.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. The Archbishop can force checkmate
+  against a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Chancellor and Queen are nearly equal in value to Queen,
+  under-promotion is very common, and there is virtually never any
+  need to promote to R, B or N.</p>
+
+  <p>The super-pieces (Q, C, A) devaluate by the presence of
+  lower-valued opponent pieces. As a result trading Q for R + B is
+  in general a good trade when you still have both J, as the latter
+  gain in value by eliminating the opponent's R and B, which is
+  more compensation than the intrinsic value differene between Q
+  and R + B.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index cc82970..ba2de2f 100644 (file)
-<html>
-<header>
-<title>Chess with Different Armies</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="cwda.js"></script>
-</header>
-<body>
-<h1>Chess with Different Armies</h1>
-<p>
-This is actually a group of variants.
-It defines a number of 'armies', each containing of an orthodox King and Pawns,
-plus 7 other pieces of 4 different types.
-The orthodox FIDE army, with pieces Q, R, B and N, is one example of this.
-But there are many armies considting of four completely different pieces,
-together of approximately equal strength as the FIDE army.
-Here we discuss three possible realizations of this.
-</p>
-<p>
-Each of these four armies can be pitted against each of the others,
-with either color.
-</p>
-<table cellpadding="20"><tr><td>
-<img src="Rookies.png">
-</td><td>
-<h3>Initial setup</h3>
-<h4>Remarkable-Rookies army</h4>
-<p>
-e1, e8: King
-<br>
-d1, d8: Marshall
-<br>
-a1, a8, h1, h8: Short Rook
-<br>
-c1, c8, f1, f8: Half Duck
-<br>
-b1, b8, g1, g8: Woody
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-<h4>Fabulous-FIDEs army</h4>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr><tr><td>
-<img src="ClobNut.png">
-</td><td>
-<h4>Nutty-Knights army</h4>
-<p>
-e1, e8: King
-<br>
-d1, d8: Colonel
-<br>
-a1, a8, h1, h8: Turret
-<br>
-c1, c8, f1, f8: Unicorn
-<br>
-b1, b8, g1, g8: Horse
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-<h4>Color-bound Cloberers army</h4>
-<p>
-e1, e8: King
-<br>
-d1, d8: ArchBishop
-<br>
-a1, a8, h1, h8: Leaping Bishop
-<br>
-c1, c8, f1, f8: Clobberer
-<br>
-b1, b8, g1, g8: Elephant
-<br>
-a2-h2, a7-h7: 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="h" id="0x9">
-
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
-
-     </td><td class="n" id="3x9">
-
-     </td><td class="n" id="4x9">
-
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
-
-     </td><td class="n" id="7x9">
-
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" 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">
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Chess with Different Armies</title>
+  <link rel="StyleSheet" href="./moves.css" type="text/css">
+  <script type="text/javascript" src="cwda.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="4x7">
+  <h1>Chess with Different Armies</h1>
 
-     </td><td class="n" id="5x7">
+  <p>This is actually a group of variants. It defines a number of
+  'armies', each containing of an orthodox King and Pawns, plus 7
+  other pieces of 4 different types. The orthodox FIDE army, with
+  pieces Q, R, B and N, is one example of this. But there are many
+  armies considting of four completely different pieces, together
+  of approximately equal strength as the FIDE army. Here we discuss
+  three possible realizations of this.</p>
 
-     </td><td class="n" id="6x7">
+  <p>Each of these four armies can be pitted against each of the
+  others, with either color.</p>
 
-     </td><td class="n" id="7x7">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Rookies.png"></td>
 
-     </td><td class="n" id="8x7">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="9x7">
+        <h4>Remarkable-Rookies army</h4>
 
-     </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">
+        <p>e1, e8: King<br>
+        d1, d8: Marshall<br>
+        a1, a8, h1, h8: Short Rook<br>
+        c1, c8, f1, f8: Half Duck<br>
+        b1, b8, g1, g8: Woody<br>
+        a2-h2, a7-h7: Pawns</p>
 
-     </td><td class="n" id="1x6">
+        <h4>Fabulous-FIDEs army</h4>
 
-     </td><td class="n" id="2x6">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: Pawns</p>
+      </td>
+    </tr>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,6)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,6)" onmouseUp="up_click()">
-<img src="sym/BlackKnight.png">
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
-<img src="sym/BlackQueen.png">
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,6)" onmouseUp="up_click()">
-<img src="sym/BlackBishop.png">
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,6)" onmouseUp="up_click()">
-<img src="sym/WhiteKing.png">
-     </td><td class="n" id="8x6">
+    <tr>
+      <td><img src="ClobNut.png"></td>
 
-     </td><td class="n" id="9x6">
+      <td>
+        <h4>Nutty-Knights army</h4>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="n" id="0x5">
+        <p>e1, e8: King<br>
+        d1, d8: Colonel<br>
+        a1, a8, h1, h8: Turret<br>
+        c1, c8, f1, f8: Unicorn<br>
+        b1, b8, g1, g8: Horse<br>
+        a2-h2, a7-h7: Pawns</p>
 
-     </td><td class="n" id="1x5">
+        <h4>Color-bound Cloberers army</h4>
 
-     </td><td class="n" id="2x5">
+        <p>e1, e8: King<br>
+        d1, d8: ArchBishop<br>
+        a1, a8, h1, h8: Leaping Bishop<br>
+        c1, c8, f1, f8: Clobberer<br>
+        b1, b8, g1, g8: Elephant<br>
+        a2-h2, a7-h7: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,5)" onmouseUp="up_click()">
-<img src="sym/WhiteCobra.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/WhiteChancellor.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">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="8x5">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="9x5">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></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="sq1x9" onmousedown="down_click(1,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,4)" onmouseUp="up_click()">
-<img src="sym/BlackElephant.png">
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,4)" onmouseUp="up_click()">
-<img src="sym/BlackCrownedBishop.png">
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
-<img src="sym/BlackArchbishop.png">
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,4)" onmouseUp="up_click()">
-<img src="sym/BlackMarshall.png">
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq6x9"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" onmouseDown="down_click(3,3)" onmouseUp="up_click()">
-<img src="sym/WhiteNightrider.png">
-     </td><td class="n" id="4x3" onmouseDown="down_click(4,3)" onmouseUp="up_click()">
-<img src="sym/WhiteUnicorn.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/WhitePromoDragon.png">
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <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="1x2">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="7x2">
-
-     </td><td class="n" id="8x2">
-
-     </td><td class="n" id="9x2">
-
-</td></tr><tr><td class="n" id="0x1">
-
-     </td><td class="n" id="1x1">
-
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
-
-     </td><td class="n" id="4x1">
-
-     </td><td class="n" id="5x1">
-
-     </td><td class="n" id="6x1">
-
-     </td><td class="n" id="7x1">
-
-     </td><td class="n" id="8x1">
-
-     </td><td class="n" id="9x1">
-
-</td></tr><tr><td class="h" id="0x0">
-
-     </td><td class="n" id="1x0" onmouseDown="down_click(1,0)" onmouseUp="up_click()">
-<img src="sym/WhiteCrownedBishop.png">
-     </td><td class="n" id="2x0">
-
-     </td><td class="n" id="3x0">
-
-     </td><td class="n" id="4x0">
-
-     </td><td class="n" id="5x0" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
-<img src="sym/WhiteKing.png">
-     </td><td class="n" id="6x0">
-
-     </td><td class="n" id="7x0">
-
-     </td><td class="n" id="8x0" onmouseDown="down_click(8,0)" onmouseUp="up_click()">
-<img src="sym/WhiteCrownedBishop.png">
-     </td><td class="h" 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 colspan="5">
-<b>Common to all armies</b>
-</td></tr><tr><td>
-King
-     </td><td>
-K
-     </td><td>
--
-     </td><td>
-K
-     </td><td>
-Can castle with corner piece
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to any piece specific to the army on reaching last rank
-</td></tr><tr><td colspan="5">
-<b>FIDE army<b>
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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 colspan="5">
-<b>Clobberers army<b>
-</td></tr><tr><td>
-Archbishop
-     </td><td>
-A
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Leaping Bishop
-     </td><td>
-L
-     </td><td>
-5
-     </td><td>
-BD
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Clobberer
-     </td><td>
-C
-     </td><td>
-4.5
-     </td><td>
-FAD
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-3
-     </td><td>
-WA
-     </td><td>
-
-</td></tr><tr><td colspan="5">
-<b>Nutters army<b>
-</td></tr><tr><td>
-Colonel
-     </td><td>
-C
-     </td><td>
-9.5
-     </td><td>
-fRsRKfhN
-     </td><td>
-
-</td></tr><tr><td>
-Turret
-     </td><td>
-T
-     </td><td>
-5
-     </td><td>
-bKfsR
-     </td><td>
-
-</td></tr><tr><td>
-Unicorn
-     </td><td>
-B
-     </td><td>
-3.75
-     </td><td>
-fhNbsK
-     </td><td>
-
-</td></tr><tr><td>
-Horse
-     </td><td>
-H
-     </td><td>
-3
-     </td><td>
-FbbNffN
-     </td><td>
-
-</td></tr><tr><td colspan="5">
-<b>Rookies army<b>
-</td></tr><tr><td>
-Marshall
-     </td><td>
-M
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-Short Rook
-     </td><td>
-S
-     </td><td>
-4.5
-     </td><td>
-R4
-     </td><td>
-
-</td></tr><tr><td>
-Half Duck
-     </td><td>
-B
-     </td><td>
-4
-     </td><td>
-HFD
-     </td><td>
-
-</td></tr><tr><td>
-Woody
-     </td><td>
-W
-     </td><td>
-3
-     </td><td>
-WD
-     </td><td>
-
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice <b>from their own army</b> when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can (in general) move two squares in the direction of a corner piece that has not moved before,
-in which case that corner piece is moved to the square next to the King on the other side.
-This is only allowed if all squares traveled through by King and corner piece are empty (after their removal),
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-When the corner piece is color-bound, however, the King moves 2 <b>or 3 squares</b>, subject to all other rules mentioned above,
-to make sure the piece it castles with stays on the same color.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>Any army can be pitted against any other.</li>
-<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>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-Man of the pieces in the various army are quite exotic even by the standards of Chess variants,
-and XBoard does not know them.
-So Chess with different Armies has to be played with legality testing off,
-using pieces XBoard does implement for different purposes.
-CwDA is also not an variant name known to XBoard;
-it has to be played as the catch-all variant 'fairy'.
-This variant can mean anything as far as XBoard is concerned;
-you have to tell the engine what you actually want to play,
-and then the engine will tell it to XBoard (i.e. which piece symbols to use, in which initial setup).
-So CwDA cannot be played without an engine that knows how to play it.
-</p>
-<p>
-Fairy-Max implements various versions of CwDA.
-With a combobox in the Engine Settings dialog you can select which version you want to play
-(e.g. Clobberers-Nutters) as variant fairy.
-When you then select 'fairy' from the New Variant dialog
-(or start a New Game when 'fairy' was already selected)
-the engine will setup the game for the selected armies.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-Except for the FIDE army, all armies consist of pieces (not King and Pawns) that move in completely different ways.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-It is not possible to force checkmate on a bare King with just a single Elephant or C or L (in addition to your own King).
-A pair CC, LL or CL on unlike colors can force checkmate without help of their King.
-A pair of Elephants can checkmate with help of their King.
-It is not possible to force checkmate on a bare King with just a single Fibnif or a pair of them (in addition to your own King).
-All pieces of the Rookies army can force checkmate against a bare King.
-</p>
-<p>
-Bishops, C and L are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-Combining other color-bound pieces on unlike colors is expected to involve even larger bonuses.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq6x8"></td>
+
+      <td class="n" id="sq7x8"></td>
+
+      <td class="n" id="sq8x8"></td>
+
+      <td class="n" id="sq9x8"></td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x7"></td>
+
+      <td class="n" id="sq1x7"></td>
+
+      <td class="n" id="sq2x7"></td>
+
+      <td class="n" id="sq3x7"></td>
+
+      <td class="n" id="sq4x7"></td>
+
+      <td class="n" id="sq5x7"></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/BlackRook.png"></td>
+
+      <td class="n" id="sq4x6" onmousedown="down_click(4,6)"
+      onmouseup="up_click()"><img src="sym/BlackKnight.png"></td>
+
+      <td class="n" id="sq5x6" onmousedown="down_click(5,6)"
+      onmouseup="up_click()"><img src="sym/BlackQueen.png"></td>
+
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/BlackBishop.png"></td>
+
+      <td class="n" id="sq7x6" onmousedown="down_click(7,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
+
+      <td class="n" id="sq8x6"></td>
+
+      <td class="n" id="sq9x6"></td>
+
+      <td class="h"><img src="sym/green.png"></td>
+
+      <td class="w">Non-capture only</td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x5"></td>
+
+      <td class="n" id="sq1x5"></td>
+
+      <td class="n" id="sq2x5"></td>
+
+      <td class="n" id="sq3x5" onmousedown="down_click(3,5)"
+      onmouseup="up_click()"><img src="sym/WhiteCobra.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/WhiteChancellor.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"></td>
+
+      <td class="n" id="sq8x5"></td>
+
+      <td class="n" id="sq9x5"></td>
+
+      <td class="h"><img src="sym/red.png"></td>
+
+      <td class="w">Capture only</td>
+    </tr>
+
+    <tr>
+      <td class="n" id="sq0x4"></td>
+
+      <td class="n" id="sq1x4"></td>
+
+      <td class="n" id="sq2x4"></td>
+
+      <td class="n" id="sq3x4" onmousedown="down_click(3,4)"
+      onmouseup="up_click()"><img src="sym/BlackElephant.png"></td>
+
+      <td class="n" id="sq4x4" onmousedown="down_click(4,4)"
+      onmouseup="up_click()"><img src=
+      "sym/BlackCrownedBishop.png"></td>
+
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src=
+      "sym/BlackArchbishop.png"></td>
+
+      <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
+      onmouseup="up_click()"><img src="sym/BlackMarshall.png"></td>
+
+      <td class="n" id="sq7x4"></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" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
+
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
+
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteNightrider.png"></td>
+
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteUnicorn.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/WhitePromoDragon.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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq0x0"></td>
+
+      <td class="n" id="sq1x0" onmousedown="down_click(1,0)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
+
+      <td class="n" id="sq2x0"></td>
+
+      <td class="n" id="sq3x0"></td>
+
+      <td class="n" id="sq4x0"></td>
+
+      <td class="n" id="sq5x0" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
+
+      <td class="n" id="sq6x0"></td>
+
+      <td class="n" id="sq7x0"></td>
+
+      <td class="n" id="sq8x0" onmousedown="down_click(8,0)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
+
+      <td class="h" 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 colspan="5"><b>Common to all armies</b></td>
+    </tr>
+
+    <tr>
+      <td>King</td>
+
+      <td>K</td>
+
+      <td>-</td>
+
+      <td>K</td>
+
+      <td>Can castle with corner piece</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to any piece specific to the army on reaching
+      last rank</td>
+    </tr>
+
+    <tr>
+      <td colspan="5"><b>FIDE army</b></td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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 colspan="5"><b>Clobberers army</b></td>
+    </tr>
+
+    <tr>
+      <td>Archbishop</td>
+
+      <td>A</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Leaping Bishop</td>
+
+      <td>L</td>
+
+      <td>5</td>
+
+      <td>BD</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Clobberer</td>
+
+      <td>C</td>
+
+      <td>4.5</td>
+
+      <td>FAD</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td>3</td>
+
+      <td>WA</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td colspan="5"><b>Nutters army</b></td>
+    </tr>
+
+    <tr>
+      <td>Colonel</td>
+
+      <td>C</td>
+
+      <td>9.5</td>
+
+      <td>fRsRKfhN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Turret</td>
+
+      <td>T</td>
+
+      <td>5</td>
+
+      <td>bKfsR</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Unicorn</td>
+
+      <td>B</td>
+
+      <td>3.75</td>
+
+      <td>fhNbsK</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Horse</td>
+
+      <td>H</td>
+
+      <td>3</td>
+
+      <td>FbbNffN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td colspan="5"><b>Rookies army</b></td>
+    </tr>
+
+    <tr>
+      <td>Marshall</td>
+
+      <td>M</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Short Rook</td>
+
+      <td>S</td>
+
+      <td>4.5</td>
+
+      <td>R4</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Half Duck</td>
+
+      <td>B</td>
+
+      <td>4</td>
+
+      <td>HFD</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Woody</td>
+
+      <td>W</td>
+
+      <td>3</td>
+
+      <td>WD</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice
+    <b>from their own army</b> when they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can (in general) move two
+  squares in the direction of a corner piece that has not moved
+  before, in which case that corner piece is moved to the square
+  next to the King on the other side. This is only allowed if all
+  squares traveled through by King and corner piece are empty
+  (after their removal), when the King is not in check on the
+  square it came from, and would not be in check on any of the
+  squares it skipped over. When the corner piece is color-bound,
+  however, the King moves 2 <b>or 3 squares</b>, subject to all
+  other rules mentioned above, to make sure the piece it castles
+  with stays on the same color.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>Any army can be pitted against any other.</li>
+
+    <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>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>Man of the pieces in the various army are quite exotic even by
+  the standards of Chess variants, and XBoard does not know them.
+  So Chess with different Armies has to be played with legality
+  testing off, using pieces XBoard does implement for different
+  purposes. CwDA is also not an variant name known to XBoard; it
+  has to be played as the catch-all variant 'fairy'. This variant
+  can mean anything as far as XBoard is concerned; you have to tell
+  the engine what you actually want to play, and then the engine
+  will tell it to XBoard (i.e. which piece symbols to use, in which
+  initial setup). So CwDA cannot be played without an engine that
+  knows how to play it.</p>
+
+  <p>Fairy-Max implements various versions of CwDA. With a combobox
+  in the Engine Settings dialog you can select which version you
+  want to play (e.g. Clobberers-Nutters) as variant fairy. When you
+  then select 'fairy' from the New Variant dialog (or start a New
+  Game when 'fairy' was already selected) the engine will setup the
+  game for the selected armies.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>Except for the FIDE army, all armies consist of pieces (not
+  King and Pawns) that move in completely different ways.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. It is not possible to force
+  checkmate on a bare King with just a single Elephant or C or L
+  (in addition to your own King). A pair CC, LL or CL on unlike
+  colors can force checkmate without help of their King. A pair of
+  Elephants can checkmate with help of their King. It is not
+  possible to force checkmate on a bare King with just a single
+  Fibnif or a pair of them (in addition to your own King). All
+  pieces of the Rookies army can force checkmate against a bare
+  King.</p>
+
+  <p>Bishops, C and L are confined to squares of a single color.
+  Having Bishops on both colors compensates this weakness, and is
+  worth an extra 0.5 on top of their added value. Combining other
+  color-bound pieces on unlike colors is expected to involve even
+  larger bonuses.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 5e9e8ab..c531bb0 100644 (file)
-<html>
-<header>
-<title>Capablanca Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Capablanca Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Capablanca.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f1, f8: King
-<br>
-e1, e8: Queen
-<br>
-h1, h8: Chancellor
-<br>
-c1, c8: Archbishop
-<br>
-a1, a8, j1, j8: Rook
-<br>
-d1, d8, g1, g8: Bishop
-<br>
-b1, b8, i1, i8: Knight
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Capablanca Chess</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>Capablanca Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Capablanca.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(0,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>f1, f8: King<br>
+        e1, e8: Queen<br>
+        h1, h8: Chancellor<br>
+        c1, c8: Archbishop<br>
+        a1, a8, j1, j8: Rook<br>
+        d1, d8, g1, g8: Bishop<br>
+        b1, b8, i1, i8: Knight<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" onmouseDown="down_click(5,-9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(0,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="9x9" onmouseDown="down_click(9,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </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="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,-9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq9x9" onmousedown="down_click(9,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="9x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="9x7">
+    <tr>
+      <td class="n" id="sq0x7"></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 class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq7x7"></td>
 
-     </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">Unblockable 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">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.png"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq7x6"></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="sq8x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x4">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
-<img src="sym/WhiteMarshall.png">
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq4x5"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq6x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq7x5"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteMarshall.png"></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"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="5x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="5x0">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq1x2"></td>
 
-     </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>
-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>
-Can castle with Rook, moving 3 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Chancellor
-     </td><td>
-C
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-ArchBishop
-     </td><td>
-A
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, C, A, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move <b>three</b> squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square next to the King on the other side.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Chancellor and Archbishop pieces are extra, and the board is expanded to accomodate them.
-To handle the larger board width, the King moves 3 squares on castling.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-The Archbishop can force checkmate against a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Chancellor and Archbishop are nearly equal in value to Queen, under-promotion is very common.
-</p>
-<p>
-The super-pieces (Q, C, A) devaluate by the presence of lower-valued opponent pieces.
-As a result trading Q for R + B is in general a good trade when you still have A and C,
-as the latter gain in value by eliminating the opponent's R and B,
-which is more compensation than the intrinsic value difference between Q and R + B.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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>Can castle with Rook, moving 3 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Chancellor</td>
+
+      <td>C</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>ArchBishop</td>
+
+      <td>A</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, C, A, R, B, or N on reaching last
+      rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move <b>three</b> squares
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square next to the King on the
+  other side. This is only allowed if all squares between King and
+  Rook are empty, when the King is not in check on the square it
+  came from, and would not be in check on any of the squares it
+  skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Chancellor and Archbishop pieces are extra, and the board
+  is expanded to accomodate them. To handle the larger board width,
+  the King moves 3 squares on castling.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. The Archbishop can force checkmate
+  against a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Chancellor and Archbishop are nearly equal in value to
+  Queen, under-promotion is very common.</p>
+
+  <p>The super-pieces (Q, C, A) devaluate by the presence of
+  lower-valued opponent pieces. As a result trading Q for R + B is
+  in general a good trade when you still have A and C, as the
+  latter gain in value by eliminating the opponent's R and B, which
+  is more compensation than the intrinsic value difference between
+  Q and R + B.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 6b3816e..a933fe3 100644 (file)
-<html>
-<header>
-<title>Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Chess (aka FIDE, Mad Queen)</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Chess</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>Chess (aka FIDE, Mad Queen)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-None.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>None.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </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>
index 8765ba5..5ee1e23 100644 (file)
-<html>
-<header>
-<title>Chu Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="chu.js"></script>
-</header>
-<body>
-<h1>Chu Chess</h1>
-<p>
-Chu Chess is an intermediate between (Mighty-Lion) Chess and Chu Shogi.
-It was designed for over-the-board play with the aid of two Chess sets, some draughts chips,
-and an International-Daughts (10x10) board.
-Pieces placed on a draughts-chip pedestal would represent 'crowned' pieces,
-i.e. pieces that in addition to their normal Chess moves would also be able to move as an orthodox King.
-With the exception of the Knight on a pedestal, which would not only get the extra King move,
-but the full power of a Chu-Shogi Lion.
-(To highlight its importance, it could be put on top of a stack of draughts chips.)
-This variant can be played in two versions, differing only in promotion rules,
-which can be either Chess-like or Shogi-like.
-</p>
-<table cellpadding="20"><tr><td>
-<img src="ChuChess.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f0, e9: King
-<br>
-e1, f8: Lion
-<br>
-f1, e8: Queen
-<br>
-g1, d8: Crowned Rook
-<br>
-d1, g8: Crowned Bishop
-<br>
-a0, a9, j0, j9: Rook
-<br>
-c1, c8, h1, h8: Bishop
-<br>
-b1, b8, i1, i8: Knight
-<br>
-a1, a8, j1, j8: Commoner
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Chu Chess</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" -->
 
-<h3>Moves at a Glance</h3>
+  <h1>Chu Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <p>Chu Chess is an intermediate between (Mighty-Lion) Chess and
+  Chu Shogi. It was designed for over-the-board play with the aid
+  of two Chess sets, some draughts chips, and an
+  International-Daughts (10x10) board. Pieces placed on a
+  draughts-chip pedestal would represent 'crowned' pieces, i.e.
+  pieces that in addition to their normal Chess moves would also be
+  able to move as an orthodox King. With the exception of the
+  Knight on a pedestal, which would not only get the extra King
+  move, but the full power of a Chu-Shogi Lion. (To highlight its
+  importance, it could be put on top of a stack of draughts chips.)
+  This variant can be played in two versions, differing only in
+  promotion rules, which can be either Chess-like or
+  Shogi-like.</p>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(0,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="1x9">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="ChuChess.png"></td>
 
-     </td><td class="n" id="2x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="3x9">
+        <p>f0, e9: King<br>
+        e1, f8: Lion<br>
+        f1, e8: Queen<br>
+        g1, d8: Crowned Rook<br>
+        d1, g8: Crowned Bishop<br>
+        a0, a9, j0, j9: Rook<br>
+        c1, c8, h1, h8: Bishop<br>
+        b1, b8, i1, i8: Knight<br>
+        a1, a8, j1, j8: Commoner<br>
+        a2-j2, a7-j7: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="4x9" onmouseDown="down_click(4,-9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="5x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="6x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="7x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(0,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="9x9" onmouseDown="down_click(9,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </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="sq2x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq4x9" onmousedown="down_click(4,-9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq5x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq9x9" onmousedown="down_click(9,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="9x8">
+      <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></tr><tr><td class="n" id="0x7">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="6x7" onmouseDown="down_click(6,7)" onmouseUp="up_click()">
-<img src="sym/WhiteCommoner.png">
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq8x8"></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 class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="1x6">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq4x7"></td>
 
-     </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">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq6x7" onmousedown="down_click(6,7)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.png"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="n" id="sq7x7"></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="n" id="sq8x7"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="4x5">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq1x6"></td>
 
-     </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="sq2x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq3x6"></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="sq4x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq7x6"></td>
 
-     </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="sq8x6"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq9x6"></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="0x3">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="1x3">
-<img src="sym/BlackPawn.png">
-     </td><td class="n" id="2x3">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x3">
+    <tr>
+      <td class="n" id="sq0x5"></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="sq1x5"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq5x5"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,5)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedRook.png"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq7x5" onmousedown="down_click(7,5)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="6x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="7x2" onmouseDown="down_click(7,2)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq2x4"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,4)"
+      onmouseup="up_click()"><img src="sym/WhiteLion.png"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq9x4"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="h"><img src="sym/cyan.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="w" rowspan="2" valign="top">Captured while passing
+      through the square to another destination</td>
+    </tr>
 
-</td></tr><tr><td class="n" id="0x0">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </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>
-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>
-Can castle with Rook, moving 3 steps towards it
-</td></tr><tr><td>
-Lion
-     </td><td>
-L
-     </td><td>
-15
-     </td><td>
-KNAD(cK-aK)(K-bK)
-     </td><td>
-Can make two independent King steps per turn (capturing upto two pieces)
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Crowned Rook
-     </td><td>
-+R
-     </td><td>
-7
-     </td><td>
-RF
-     </td><td>
-aka Dragon Kin
-</td></tr><tr><td>
-Crowned Bishop
-     </td><td>
-+B
-     </td><td>
-5.25
-     </td><td>
-BW
-     </td><td>
-aka Dragon Horse
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Commoner
-     </td><td>
-M
-     </td><td>
-3
-     </td><td>
-K
-     </td><td>
-aka Man or Soldier
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching promotion zone
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote asthey promote in orthodox Chess piece of choice when they enter the promotion zone (in the Chess-like version).</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move <b>three</b> squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>The promotion zone is three ranks deep.</li>
-<li>You cannot promote to Lion if you already have one.</li>
-</ul>
-<h3>Chess-like or Shogi-like promotion</h3>
-<p>
-In the Chess-like version only Pawns promote.
-You can choose what piece to promote to, but promotion is mandatory:
-you cannot stay a Pawn.
-In the Shogi-like version other pieces can also promote, but there is no choice:
-pieces promote to their 'crowned' versions, and acquire the moves of a King on top of their own that way.
-Pieces that already had all King moves cannot promote.
-Thus a Commoner cannot Promote, and a Pawn can only promote to Commoner.
-The Knight promotes to Lion, and thus gains unusually much in value.
-</p>
-<h3>The Lion piece</h3>
-<p>
-The Lion can make two moves per turn.
-That means it can also capture two pieces per turn,
-one on the square it moves to (as normal), and one 'en passant' on the transit square.
-It can also capture on the transit square, and move on to an empty square ('hit and run'),
-or capture and move back to where it came from ('shooting' the piece from a distance, as it were).
-Of course it 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.
-It can also jump over the transit square, i.e. reach the distant two-step destination in a single jump.
-Finally it 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 pseudo-legal (i.e. without taking account of check) recapture of the capturing Lion is possible
-<i>with another piece than King</i>.
-So even when the Lion is protected only with a pinned piece, the other Lion cannot capture it <i>from a distance</i>,
-just like a King could not capture it.
-</p><p>
-When a non-Lion 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) 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.
-In the late end-game, when you have nothing to protect your Lion with other than King,
-trading becomes possible.
-</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>
-XBoard will allow both the Chess-like and the Shogi-like promotion;
-the engine will have to decide which promotion style it thinks legal.
-The default choice in 'sweep-promotions' mode will be deferral for pieces, however,
-to facilitate Chess-like play.
-To play a Shogi promotion in this mode you should enter it as a click-click move,
-but during the click on the promotion square move the mouse pointer down until the promoted piece appears, and only then release the mouse button.
-The Pawn will show Queen as default, and a 'dragging click' on the promotion square will cycle through all choices.
-In the Shogi version you would have to choose the Commoner that way.
-With a promotion popup you would have to press 'No' on piece moves into the zone when you play the Chess-like version,
-and press 'Commoner' on Pawn promotions when you play the Shogi-like version.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The board is 10x10, with a 3-rank-deep promotion zone.
-The initial setup leaves an almost empty rank behind the pieces, where you can immediately castle.
-You have a Lion, Crowned Rook, Crowned Bishop and two Soldiers as extra pieces.
-In the Shogi-like version of the rules, some pieces other than Pawn can also promote.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-With a single Commoner you can force checkmate on a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-A Queen is upward compatible with all weaker pieces except Knight.
-So only promotion to Queen or Knight makes sense,
-(except perhaps for rare situations where you might have to avoid stalemate).
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x3"><img src="sym/BlackPawn.png"></td>
+
+      <td class="n" id="sq2x3"></td>
+
+      <td class="n" id="sq3x3"></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"></td>
+
+      <td class="n" id="sq6x3"></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"></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/WhitePawn.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" onmousedown="down_click(2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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>Can castle with Rook, moving 3 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Lion</td>
+
+      <td>L</td>
+
+      <td>15</td>
+
+      <td>KNAD(cK-aK)(K-bK)</td>
+
+      <td>Can make two independent King steps per turn (capturing
+      upto two pieces)</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Crowned Rook</td>
+
+      <td>+R</td>
+
+      <td>7</td>
+
+      <td>RF</td>
+
+      <td>aka Dragon Kin</td>
+    </tr>
+
+    <tr>
+      <td>Crowned Bishop</td>
+
+      <td>+B</td>
+
+      <td>5.25</td>
+
+      <td>BW</td>
+
+      <td>aka Dragon Horse</td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Commoner</td>
+
+      <td>M</td>
+
+      <td>3</td>
+
+      <td>K</td>
+
+      <td>aka Man or Soldier</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching promotion zone</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote asthey promote in orthodox Chess piece of
+    choice when they enter the promotion zone (in the Chess-like
+    version).</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move <b>three</b> squares
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square the King skipped over. This
+  is only allowed if all squares between King and Rook are empty,
+  when the King is not in check on the square it came from, and
+  would not be in check on any of the squares it skipped over.</p>
+
+  <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>The promotion zone is three ranks deep.</li>
+
+    <li>You cannot promote to Lion if you already have one.</li>
+  </ul>
+
+  <h3>Chess-like or Shogi-like promotion</h3>
+
+  <p>In the Chess-like version only Pawns promote. You can choose
+  what piece to promote to, but promotion is mandatory: you cannot
+  stay a Pawn. In the Shogi-like version other pieces can also
+  promote, but there is no choice: pieces promote to their
+  'crowned' versions, and acquire the moves of a King on top of
+  their own that way. Pieces that already had all King moves cannot
+  promote. Thus a Commoner cannot Promote, and a Pawn can only
+  promote to Commoner. The Knight promotes to Lion, and thus gains
+  unusually much in value.</p>
+
+  <h3>The Lion piece</h3>
+
+  <p>The Lion can make two moves per turn. That means it can also
+  capture two pieces per turn, one on the square it moves to (as
+  normal), and one 'en passant' on the transit square. It can also
+  capture on the transit square, and move on to an empty square
+  ('hit and run'), or capture and move back to where it came from
+  ('shooting' the piece from a distance, as it were). Of course it
+  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.
+  It can also jump over the transit square, i.e. reach the distant
+  two-step destination in a single jump. Finally it 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 pseudo-legal (i.e. without taking account of check)
+  recapture of the capturing Lion is possible <i>with another piece
+  than King</i>. So even when the Lion is protected only with a
+  pinned piece, the other Lion cannot capture it <i>from a
+  distance</i>, just like a King could not capture it.</p>
+
+  <p>When a non-Lion 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) 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. In the late end-game, when you have
+  nothing to protect your Lion with other than King, trading
+  becomes possible.</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>XBoard will allow both the Chess-like and the Shogi-like
+  promotion; the engine will have to decide which promotion style
+  it thinks legal. The default choice in 'sweep-promotions' mode
+  will be deferral for pieces, however, to facilitate Chess-like
+  play. To play a Shogi promotion in this mode you should enter it
+  as a click-click move, but during the click on the promotion
+  square move the mouse pointer down until the promoted piece
+  appears, and only then release the mouse button. The Pawn will
+  show Queen as default, and a 'dragging click' on the promotion
+  square will cycle through all choices. In the Shogi version you
+  would have to choose the Commoner that way. With a promotion
+  popup you would have to press 'No' on piece moves into the zone
+  when you play the Chess-like version, and press 'Commoner' on
+  Pawn promotions when you play the Shogi-like version.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The board is 10x10, with a 3-rank-deep promotion zone. The
+  initial setup leaves an almost empty rank behind the pieces,
+  where you can immediately castle. You have a Lion, Crowned Rook,
+  Crowned Bishop and two Soldiers as extra pieces. In the
+  Shogi-like version of the rules, some pieces other than Pawn can
+  also promote.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>With a single Commoner you can force checkmate on a bare
+  King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>A Queen is upward compatible with all weaker pieces except
+  Knight. So only promotion to Queen or Knight makes sense, (except
+  perhaps for rare situations where you might have to avoid
+  stalemate).</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index e3f7376..e841e7a 100644 (file)
-<html>
-<header>
-<title>Courier Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Courier Chess (a medieval precursor of modern Chess)</h1>
-<table cellpadding="20"><tr><td>
-<img src="Courier.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f1, f8: King
-<br>
-a1, a8, l1, l8: Rook
-<br>
-d1, d8, i1, i8: Courier (Bishop)
-<br>
-b1, b8, k1, k8: Knight
-<br>
-e1, e8: Commonner
-<br>
-g1, g8: Ferz (General)
-<br>
-h1, h8: Wazir (Grand Visor)
-<br>
-c1, c8, j1, j8: Alfil (Elephant)
-<br>
-a2-l2, a7-l7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Courier Chess</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>Courier Chess (a medieval precursor of modern Chess)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Courier.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9">
+        <p>f1, f8: King<br>
+        a1, a8, l1, l8: Rook<br>
+        d1, d8, i1, i8: Courier (Bishop)<br>
+        b1, b8, k1, k8: Knight<br>
+        e1, e8: Commonner<br>
+        g1, g8: Ferz (General)<br>
+        h1, h8: Wazir (Grand Visor)<br>
+        c1, c8, j1, j8: Alfil (Elephant)<br>
+        a2-l2, a7-l7: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="2x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="3x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="4x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9"></td>
 
-     </td><td class="n" id="5x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="9x9">
+      <td class="n" id="sq5x9"></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="sq6x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq9x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="5x8">
+      <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="6x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="9x8">
+      <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>
+    </tr>
 
-     </td><td class="n" id="6x7">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq3x7"></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 class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </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="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="9x6">
+    <tr>
+      <td class="n" id="sq0x6"></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="n" id="sq1x6"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,5)" onmouseUp="up_click()">
+      <td class="n" id="sq4x6"></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="sq5x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,-6)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.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="sq8x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq3x5" onmousedown="down_click(3,5)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq4x5" onmousedown="down_click(4,5)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq5x5" onmousedown="down_click(5,5)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,5)"
+      onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq7x5"></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" 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" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq9x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="h"><img src="sym/red.png"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="1x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq8x4"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="1x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
+      <td class="n" id="sq1x3"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq8x3"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="1x0">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq4x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq6x2"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="n" id="sq7x2"></td>
 
-     </td><td class="n" id="9x0">
+      <td class="n" id="sq8x2"></td>
 
-</td></tr></table>
+      <td class="n" id="sq9x2"></td>
+    </tr>
 
-<p id="piece" height="20">:<br>:<br>:<br>:</p>
+    <tr>
+      <td class="n" id="sq0x1"></td>
 
-<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>
-No castling of any kind
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-8
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Courier
-     </td><td>
-B
-     </td><td>
-5
-     </td><td>
-B
-     </td><td>
-Color bound
-</td></tr><tr><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-1
-     </td><td>
-A
-     </td><td>
-Bound to 8 squares!
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-4
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Commoner
-     </td><td>
-M
-     </td><td>
-4
-     </td><td>
-K
-     </td><td>
-
-</td></tr><tr><td>
-Ferz
-     </td><td>
-F
-     </td><td>
-2
-     </td><td>
-F
-     </td><td>
-Color bound
-</td></tr><tr><td>
-Wazir
-     </td><td>
-W
-     </td><td>
-1.5
-     </td><td>
-W
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Ferz on reaching last rank
-</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 Ferz when they reach last rank; there is no choice.</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) also counts as a loss.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Commoner (Man) replaces the Queen.
-The Ferz and Alfil (Elephant) from Shatranj are added, and the board width expanded to accomodate them.
-The Pawns have no double move.
-There is no castling.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight, Ferz or Wazir (in addition to your own King).
-Two Knights, Ferzes or two Wazirs also cannot do this, and F + W only in rare situations.
-The Commoner can force checkmate against a bare King.
-</p>
-<p>
-Alfils are not only color bound, but also skip over half the files and ranks.
-So they can only reach 8 squares, making them next to worthless.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"></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>No castling of any kind</td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>8</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Courier</td>
+
+      <td>B</td>
+
+      <td>5</td>
+
+      <td>B</td>
+
+      <td>Color bound</td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td>1</td>
+
+      <td>A</td>
+
+      <td>Bound to 8 squares!</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>4</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Commoner</td>
+
+      <td>M</td>
+
+      <td>4</td>
+
+      <td>K</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Ferz</td>
+
+      <td>F</td>
+
+      <td>2</td>
+
+      <td>F</td>
+
+      <td>Color bound</td>
+    </tr>
+
+    <tr>
+      <td>Wazir</td>
+
+      <td>W</td>
+
+      <td>1.5</td>
+
+      <td>W</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Ferz on reaching last rank</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 Ferz when they reach last rank; there is
+    no choice.</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) also counts as
+    a loss.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Commoner (Man) replaces the Queen. The Ferz and Alfil
+  (Elephant) from Shatranj are added, and the board width expanded
+  to accomodate them. The Pawns have no double move. There is no
+  castling.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight, Ferz or Wazir (in addition to your own
+  King). Two Knights, Ferzes or two Wazirs also cannot do this, and
+  F + W only in rare situations. The Commoner can force checkmate
+  against a bare King.</p>
+
+  <p>Alfils are not only color bound, but also skip over half the
+  files and ranks. So they can only reach 8 squares, making them
+  next to worthless.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 3594958..d7f35a0 100644 (file)
-<html>
-<header>
-<title>Crazyhouse</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-<body>
-<h1>Crazyhouse</h1>
-<table cellpadding="20"><tr><td>
-<img src="Crazy.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Crazyhouse</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>Crazyhouse</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Crazy.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-<b><li>Pieces captured change color, and are kept in hand by the side who captured them.
-In stead of a normal move, such pieces can be dropped at any later time.</li>
-<li>Pawns can not be dropped on first or last rank.</li>
-<li>Pieces obtained by promotion revert to Pawns on capture.</li>
-</b>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-Pieces obtained by promotions are indicated by slightly modified versions of the conventional piece symbols.
-(E.g. the Rook has a pointy roof, the Knight a blind-fold, etc.)
-If you don't want that, start XBoard with the option <b>-disguisePromoted true</b>.
-You can drop pieces by dragging them onto the board from the holdings displayed beside the board.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-Captured pieces can later be dropped to augment the army of their capturer.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Because pieces are dropped back, there will not be a traditional end-game.
-Trading material does not constitute progress towards winning, even when you are ahead.
-</p>
-<p>
-Because pieces obtained through promotion revert to Pawns on capture,
-they are really different piece types from the primordial pieces that move the same.
-They are in fact more valuable: it is much better to lose a Queen that gives the opponent a Pawn in hand,
-than to lose a Queen that gives him a Queen in hand.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <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><b>Pieces captured change color, and are kept in hand by
+    the side who captured them. In stead of a normal move, such
+    pieces can be dropped at any later time.</b></li>
+
+    <li><b>Pawns can not be dropped on first or last rank.</b></li>
+
+    <li><b>Pieces obtained by promotion revert to Pawns on
+    capture.</b></li>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>Pieces obtained by promotions are indicated by slightly
+  modified versions of the conventional piece symbols. (E.g. the
+  Rook has a pointy roof, the Knight a blind-fold, etc.) If you
+  don't want that, start XBoard with the option
+  <b>-disguisePromoted true</b>. You can drop pieces by dragging
+  them onto the board from the holdings displayed beside the
+  board.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>Captured pieces can later be dropped to augment the army of
+  their capturer.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Because pieces are dropped back, there will not be a
+  traditional end-game. Trading material does not constitute
+  progress towards winning, even when you are ahead.</p>
+
+  <p>Because pieces obtained through promotion revert to Pawns on
+  capture, they are really different piece types from the
+  primordial pieces that move the same. They are in fact more
+  valuable: it is much better to lose a Queen that gives the
+  opponent a Pawn in hand, than to lose a Queen that gives him a
+  Queen in hand.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index c8dc03c..95e282a 100644 (file)
-<html>
-<header>
-<title>Cylinder Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Cylinder Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Cylinder Chess</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>Cylinder Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-oK
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-11
-     </td><td>
-oRoB or oQ
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-oR
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-4
-     </td><td>
-oB
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3.25
-     </td><td>
-oN
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfoF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li><b>The board wraps around like a cylinder, the h-file connecting to the a-file</b>.</li>
-<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>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-Cylinder Chess must be played with legality testing off, as XBoard does not understand the wrapping of the board.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The board wraps around as a cylinder.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single <b>Rook</b>,Bishop or Knight (in addition to your own King).
-Two Knights and Bishops in any combination cannot do that either.
-(Because the board has no corners, forcing checkmate has become much more difficult.)
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-The Rook and Knight hardly benefit from the cylinder board.
-The Bishop, whose moves normally often end on the left or right board edge, does benefit some,
-and a Queen gets very dangerous.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>oK</td>
+
+      <td>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>11</td>
+
+      <td>oRoB or oQ</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>oR</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>4</td>
+
+      <td>oB</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3.25</td>
+
+      <td>oN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfoF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li><b>The board wraps around like a cylinder, the h-file
+    connecting to the a-file</b>.</li>
+
+    <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>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>Cylinder Chess must be played with legality testing off, as
+  XBoard does not understand the wrapping of the board.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The board wraps around as a cylinder.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single <b>Rook</b>,Bishop or Knight (in addition to your own
+  King). Two Knights and Bishops in any combination cannot do that
+  either. (Because the board has no corners, forcing checkmate has
+  become much more difficult.)</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>The Rook and Knight hardly benefit from the cylinder board.
+  The Bishop, whose moves normally often end on the left or right
+  board edge, does benefit some, and a Queen gets very
+  dangerous.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 28f1aaa..fdbbf5e 100644 (file)
-<html>
-<header>
-<title>FRC</title>
-</header>
-<body>
-<h1>Fischer Random Chess (Chess960)</h1>
-<table cellpadding="20"><tr><td>
-<img src="FRC.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-There is no fixed setup;
-the back-rank pieces are randomly shuffled with certain restrictions.
-Black's setup is the mirror image of white's, though.
-Both sides have:
-</p><p>
-1 King
-<br>
-1 Queen
-<br>
-2 Rooks
-<br>
-2 Bishops
-<br>
-2 Knights
-<br>
-a2-j2, a7-j7: Pawns
-</p><p>
-The Bishops must start on different colors.
-The King must start between the Rooks.
-</p>
-</td></tr></table>
-<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>
-Can castle with Rook, moving 3 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move to the c1/c8 or g1/g8 in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square on the other side next to the King.
-This is only allowed if all squares traveled through by King and Rook are empty (after their removal),
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-You can use the New Shuffle dialog to control the randomization of the initial position.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The start position is not fixed, but randomly picked.
-Castling is generalized to allow it with non-standard placement of King and Rooks.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>FRC</title>
+
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
+
+  <h1>Fischer Random Chess (Chess960)</h1>
+
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FRC.png"></td>
+
+      <td>
+        <h3>Initial setup</h3>
+
+        <p>There is no fixed setup; the back-rank pieces are
+        randomly shuffled with certain restrictions. Black's setup
+        is the mirror image of white's, though. Both sides
+        have:</p>
+
+        <p>1 King<br>
+        1 Queen<br>
+        2 Rooks<br>
+        2 Bishops<br>
+        2 Knights<br>
+        a2-j2, a7-j7: Pawns</p>
+
+        <p>The Bishops must start on different colors. The King
+        must start between the Rooks.</p>
+      </td>
+    </tr>
+  </table>
+
+  <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>Can castle with Rook, moving 3 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move to the c1/c8 or
+  g1/g8 in the direction of a Rook that has not moved before, in
+  which case that Rook is moved to the square on the other side
+  next to the King. This is only allowed if all squares traveled
+  through by King and Rook are empty (after their removal), when
+  the King is not in check on the square it came from, and would
+  not be in check on any of the squares it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>You can use the New Shuffle dialog to control the
+  randomization of the initial position.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The start position is not fixed, but randomly picked. Castling
+  is generalized to allow it with non-standard placement of King
+  and Rooks.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+ </div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 462fe95..e754cf3 100644 (file)
-<html>
-<header>
-<title>Falcon Chess</title>
-</header>
-<body>
-<h1>Falcon Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Falcon.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f1, f8: King
-<br>
-e1, e8: Queen
-<br>
-d1, d8, g1, g8: Falcon
-<br>
-a1, a8, j1, j8: Rook
-<br>
-b1, b8, i1, i8: Bishop
-<br>
-c1, c8, h1, h8: Knight
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
-<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>
-Can castle with Rook, moving 3 or 4 steps to b- or i-file
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Falcon
-     </td><td>
-F
-     </td><td>
-~5
-     </td><td>
-nLnJ
-     </td><td>
-Can reach its 16 destination through 3 paths each
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, F, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move <b>three</b> steps in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square next to the King on the other side.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>The Falcon piece</h3>
-<p>
-The Falcon is a so-called multi-path piece.
-It complements the moves of all orthodox pieces, in the sense that it can reaches all squares reachable by King could reach in 3 moves
-that cannot be reached by R, B or N in a single move.
-A King would always need three steps to reach the Falcon destinations,
-(one diagonal and two straight, or two diagonal and one straight),
-but it can always do so in three ways, depending on the order of the straight and diagonal steps.
-The Falcon must follow the path a King could have followed,
-and if all the three paths are blocked, the Falcon cannot move to that destination.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Falcon pieces are extra, and the board is expanded to accomodate them.
-To handle the larger board width, the King moves 3 squares on castling.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King). King + Falcon can force mate on a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Falcon Chess</title>
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
+  <h1>Falcon Chess</h1>
+
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Falcon.png"></td>
+
+      <td>
+        <h3>Initial setup</h3>
+
+        <p>f1, f8: King<br>
+        e1, e8: Queen<br>
+        d1, d8, g1, g8: Falcon<br>
+        a1, a8, j1, j8: Rook<br>
+        b1, b8, i1, i8: Bishop<br>
+        c1, c8, h1, h8: Knight<br>
+        a2-j2, a7-j7: Pawns</p>
+      </td>
+    </tr>
+  </table>
+
+  <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>Can castle with Rook, moving 3 or 4 steps to b- or
+      i-file</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Falcon</td>
+
+      <td>F</td>
+
+      <td>~5</td>
+
+      <td>nLnJ</td>
+
+      <td>Can reach its 16 destination through 3 paths each</td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, F, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move <b>three</b> steps
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square next to the King on the
+  other side. This is only allowed if all squares between King and
+  Rook are empty, when the King is not in check on the square it
+  came from, and would not be in check on any of the squares it
+  skipped over.</p>
+
+  <h3>The Falcon piece</h3>
+
+  <p>The Falcon is a so-called multi-path piece. It complements the
+  moves of all orthodox pieces, in the sense that it can reaches
+  all squares reachable by King could reach in 3 moves that cannot
+  be reached by R, B or N in a single move. A King would always
+  need three steps to reach the Falcon destinations, (one diagonal
+  and two straight, or two diagonal and one straight), but it can
+  always do so in three ways, depending on the order of the
+  straight and diagonal steps. The Falcon must follow the path a
+  King could have followed, and if all the three paths are blocked,
+  the Falcon cannot move to that destination.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Falcon pieces are extra, and the board is expanded to
+  accomodate them. To handle the larger board width, the King moves
+  3 squares on castling.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). King +
+  Falcon can force mate on a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+ </div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 0a7ea9b..b60b98d 100644 (file)
-<html>
-<header>
-<title>Give-away Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Give-away Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Give-away Chess</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>Give-away Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-WF
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-6
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-4
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to K, Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another piece of choice <b>(including King)</b> when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>Capture is mandatory; if ay capture is possible, you cannot play a non-capture.</li>
-<li>The game is won by the side that has no pieces left.</li>
-<li>In other case of stalemate (no legal moves) the side with the smallest number of pieces wins.</li>
-<li>Stalemate with an equal number of pieces is a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-Capture is mandatory.
-The King is not special in any way, and can be captured like any other piece.
-Hence the concept of 'check' does not exist.
-Pawns can promote to King.
-</p>
-<h3>Strategy issues</h3>
-<p>
-The King is actually a good choice for a promotion piece, as it is not so easy for the opponent to feed a lot of material to a King.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>WF</td>
+
+      <td>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>6</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>4</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to K, Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another piece of choice <b>(including
+    King)</b> when they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>Capture is mandatory; if ay capture is possible, you cannot
+    play a non-capture.</li>
+
+    <li>The game is won by the side that has no pieces left.</li>
+
+    <li>In other case of stalemate (no legal moves) the side with
+    the smallest number of pieces wins.</li>
+
+    <li>Stalemate with an equal number of pieces is a draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>Capture is mandatory. The King is not special in any way, and
+  can be captured like any other piece. Hence the concept of
+  'check' does not exist. Pawns can promote to King.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>The King is actually a good choice for a promotion piece, as
+  it is not so easy for the opponent to feed a lot of material to a
+  King.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index d1e3d63..5f6aa04 100644 (file)
-<html>
-<header>
-<title>Gothic Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Gothic Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Gothic.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f1, f8: King
-<br>
-d1, d8: Queen
-<br>
-e1, e8: Chancellor
-<br>
-g1, g8: Archbishop
-<br>
-a1, a8, j1, j8: Rook
-<br>
-c1, c8, h1, h8: Bishop
-<br>
-b1, b8, i1, i8: Knight
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Gothic Chess</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>Gothic Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Gothic.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(0,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>f1, f8: King<br>
+        d1, d8: Queen<br>
+        e1, e8: Chancellor<br>
+        g1, g8: Archbishop<br>
+        a1, a8, j1, j8: Rook<br>
+        c1, c8, h1, h8: Bishop<br>
+        b1, b8, i1, i8: Knight<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" onmouseDown="down_click(5,-9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(0,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="9x9" onmouseDown="down_click(9,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </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="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,-9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq9x9" onmousedown="down_click(9,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="9x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="9x7">
+    <tr>
+      <td class="n" id="sq0x7"></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 class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq7x7"></td>
 
-     </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">Unblockable 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">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.png"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq7x6"></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="sq8x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x4">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
-<img src="sym/WhiteChancellor.png">
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq4x5"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq6x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq7x5"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteChancellor.png"></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"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="5x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="5x0">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq1x2"></td>
 
-     </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>
-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>
-Can castle with Rook, moving 3 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Chancellor
-     </td><td>
-C
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-ArchBishop
-     </td><td>
-A
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move <b>three</b> squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square next to the King on the other side.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Chancellor and Archbishop pieces are extra, and the board is expanded to accomodate them.
-To handle the larger board width, the King moves 3 squares on castling.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-The Archbishop can force checkmate against a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Chancellor and Archbishop are nearly equal in value to Queen, under-promotion is very common,
-and there is virtually never any need to promote to R, B or N.
-</p>
-<p>
-The super-pieces (Q, C, A) devaluate by the presence of lower-valued opponent pieces.
-As a result trading Q for R + B is in general a good trade when you still have both J,
-as the latter gain in value by eliminating the opponent's R and B,
-which is more compensation than the intrinsic value difference between Q and R + B.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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>Can castle with Rook, moving 3 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Chancellor</td>
+
+      <td>C</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>ArchBishop</td>
+
+      <td>A</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move <b>three</b> squares
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square next to the King on the
+  other side. This is only allowed if all squares between King and
+  Rook are empty, when the King is not in check on the square it
+  came from, and would not be in check on any of the squares it
+  skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Chancellor and Archbishop pieces are extra, and the board
+  is expanded to accomodate them. To handle the larger board width,
+  the King moves 3 squares on castling.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. The Archbishop can force checkmate
+  against a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Chancellor and Archbishop are nearly equal in value to
+  Queen, under-promotion is very common, and there is virtually
+  never any need to promote to R, B or N.</p>
+
+  <p>The super-pieces (Q, C, A) devaluate by the presence of
+  lower-valued opponent pieces. As a result trading Q for R + B is
+  in general a good trade when you still have both J, as the latter
+  gain in value by eliminating the opponent's R and B, which is
+  more compensation than the intrinsic value difference between Q
+  and R + B.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index bb31849..fdf346c 100644 (file)
-<html>
-<header>
-<title>Grand Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Grand Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Grand.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>
-d1, d8: Queen
-<br>
-f1, f8: Chancellor
-<br>
-g1, g8: Archbishop
-<br>
-a0, a9, j0, j9: Rook
-<br>
-c1, c8, h1, h8: Bishop
-<br>
-b1, b8, i1, i8: Knight
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Grand Chess</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>Grand Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td>
+        <img src="Grand.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>
+        d1, d8: Queen<br>
+        f1, f8: Chancellor<br>
+        g1, g8: Archbishop<br>
+        a0, a9, j0, j9: Rook<br>
+        c1, c8, h1, h8: Bishop<br>
+        b1, b8, i1, i8: Knight<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></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq9x8"></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">
-Unblockable 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">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,6)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="n" id="0x5">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.png"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq9x6"></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="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="2x4">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
-<img src="sym/WhiteMarshall.png">
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteMarshall.png"></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" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="3x0">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq4x2"></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>
-K
-     </td><td>
-
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Chancellor
-     </td><td>
-C
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-ArchBishop
-     </td><td>
-A
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </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
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to a piece chosen from the set of captured pieces when moving in or into the promotion zone.</li>
-<li>The Promotion zone consists of the last three ranks.</li>
-<li>When arriving on last rank, promotion is mandatory. On other ranks it is optional.</i>
-<li>If no promotion piece is available for a mandatory promotion, the Pawn cannot be advanced.</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>
-</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.
-To defer promotion you can click on a Pawn or on an empty square in the holdings of the promoting side.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The Chancellor and Archbishop pieces are extra, and the board is expanded to accomodate them.
-There is no castling.
-Promotion only allows you to regain back a piece that you lost before.
-The promotion zone is 3 ranks deep, and promotion is only mandatory on last rank.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-The Archbishop can force checkmate against a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Chancellor and Archbishop are nearly equal in value to Queen, under-promotion is very common.
-</p>
-<p>
-The super-pieces (Q, C, A) devaluate by the presence of lower-valued opponent pieces.
-As a result trading Q for R + B is in not as bad when you still have A and C,
-as the latter gain in value by eliminating the opponent's R and B,
-which is more compensation than the intrinsic value difference between Q and R + B.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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></td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Chancellor</td>
+
+      <td>C</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>ArchBishop</td>
+
+      <td>A</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</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</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to a piece chosen from the set of captured
+    pieces when moving in or into the promotion zone.</li>
+
+    <li>The Promotion zone consists of the last three ranks.</li>
+
+    <li>When arriving on last rank, promotion is mandatory. On
+    other ranks it is optional.</li>
+
+    <li>If no promotion piece is available for a mandatory
+    promotion, the Pawn cannot be advanced.</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>
+  </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. To defer promotion you can
+  click on a Pawn or on an empty square in the holdings of the
+  promoting side.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Chancellor and Archbishop pieces are extra, and the board
+  is expanded to accomodate them. There is no castling. Promotion
+  only allows you to regain back a piece that you lost before. The
+  promotion zone is 3 ranks deep, and promotion is only mandatory
+  on last rank.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. The Archbishop can force checkmate
+  against a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Chancellor and Archbishop are nearly equal in value to
+  Queen, under-promotion is very common.</p>
+
+  <p>The super-pieces (Q, C, A) devaluate by the presence of
+  lower-valued opponent pieces. As a result trading Q for R + B is
+  in not as bad when you still have A and C, as the latter gain in
+  value by eliminating the opponent's R and B, which is more
+  compensation than the intrinsic value difference between Q and R
+  + B.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </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>
index b23131e..30606d5 100644 (file)
-<html>
-<header>
-<title>Janus Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Janus Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Janus.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-f1, f8: Queen
-<br>
-b1, b8, i1, i8: Janus
-<br>
-a1, a8, j1, j8: Rook
-<br>
-d1, d8, g1, g8: Bishop
-<br>
-c1, c8, h1, h8: Knight
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Janus Chess</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>Janus Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Janus.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(2,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        f1, f8: Queen<br>
+        b1, b8, i1, i8: Janus<br>
+        a1, a8, j1, j8: Rook<br>
+        d1, d8, g1, g8: Bishop<br>
+        c1, c8, h1, h8: Knight<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" onmouseDown="down_click(-4,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="5x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(2,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="9x9" onmouseDown="down_click(-9,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </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="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9" onmousedown="down_click(-4,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq9x9" onmousedown="down_click(-9,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="9x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="9x7">
+    <tr>
+      <td class="n" id="sq0x7"></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 class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(-5,-6)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq7x7"></td>
 
-     </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">Unblockable 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">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(-5,-6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.png"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq7x6"></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="sq8x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x4">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq5x5"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq6x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq7x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq8x5"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </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"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq6x4"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </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" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></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"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq2x2"></td>
 
-     </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>
-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>
-Can castle with Rook, moving 3 or 4 steps to b- or i-file
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Janus
-     </td><td>
-J
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, J, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move <b>to the square neighboring</b> a Rook that has not moved before,
-in which case that Rook is moved to the square next to the King on the other side.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Janus pieces are extra, and the board is expanded to accomodate them.
-The King starts on the other side of the Queen.
-Castling is asymmetric; the King moves 4 steps on long castling, 3 steps on short.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-The Janus can force checkmate against a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Janus is nearly equal in value to Queen, under-promotion to it is common,
-and there is virtually never any need to promote to R, B or N.
-</p>
-<p>
-The super-pieces (Q, J) devaluate by the presence of lower-valued opponent pieces.
-As a result trading Q for R + B is in general a good trade when you still have both J,
-as the latter gain in value by eliminating the opponent's R and B,
-which is more compensation than the intrinsic value differene between Q and R + B.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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>Can castle with Rook, moving 3 or 4 steps to b- or
+      i-file</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Janus</td>
+
+      <td>J</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, J, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move <b>to the square
+  neighboring</b> a Rook that has not moved before, in which case
+  that Rook is moved to the square next to the King on the other
+  side. This is only allowed if all squares between King and Rook
+  are empty, when the King is not in check on the square it came
+  from, and would not be in check on any of the squares it skipped
+  over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Janus pieces are extra, and the board is expanded to
+  accomodate them. The King starts on the other side of the Queen.
+  Castling is asymmetric; the King moves 4 steps on long castling,
+  3 steps on short.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. The Janus can force checkmate
+  against a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Janus is nearly equal in value to Queen, under-promotion to
+  it is common, and there is virtually never any need to promote to
+  R, B or N.</p>
+
+  <p>The super-pieces (Q, J) devaluate by the presence of
+  lower-valued opponent pieces. As a result trading Q for R + B is
+  in general a good trade when you still have both J, as the latter
+  gain in value by eliminating the opponent's R and B, which is
+  more compensation than the intrinsic value differene between Q
+  and R + B.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 18428c2..37ec937 100644 (file)
-<html>
-<header>
-<title>Knightmate</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Knightmate</h1>
-<table cellpadding="20"><tr><td>
-<img src="Knightmate.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: Royal Knight
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Commoners
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Knightmate</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>Knightmate</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Knightmate.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(3,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: Royal Knight<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Commoners<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackUnicorn.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(3,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(7,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackUnicorn.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(7,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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/WhiteUnicorn.png">
-     </td><td class="n" id="5x3" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </td><td class="n" id="7x3" onmouseDown="down_click(7,-3)" onmouseUp="up_click()">
-<img src="sym/WhiteCommoner.png">
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,-3)"
+      onmouseup="up_click()"><img src="sym/WhiteUnicorn.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,-3)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-Royal Knight
-     </td><td>
-K
-     </td><td>
--
-     </td><td>
-N
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-10
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-4.5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Commoner
-     </td><td>
-M
-     </td><td>
-3
-     </td><td>
-K
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or M on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A Royal Knight that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square on the other side next to the Royal Knight.
-This is only allowed if all squares traveled through by Royal Knight and Rook are empty (after their removal),
-when the Royal Knight is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>It is not allowed to expose your Royal Knight to check.</li>
-<li>The game is won by checkmating the opponent's Royal Knight.</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The King moves as a Knight, the Knights move as a King.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single <b>Rook</b>, Bishop or Commoner (in addition to your own King).
-All pairs of pieces can force checkmate on a bare King, however.
-A Queen can even do it without help of its Royal Knight, and is thus extremely dangerous.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Royal Knight</td>
+
+      <td>K</td>
+
+      <td>-</td>
+
+      <td>N</td>
+
+      <td>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>10</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>4.5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Commoner</td>
+
+      <td>M</td>
+
+      <td>3</td>
+
+      <td>K</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or M on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A Royal Knight that has not moved before can move two squares
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square on the other side next to
+  the Royal Knight. This is only allowed if all squares traveled
+  through by Royal Knight and Rook are empty (after their removal),
+  when the Royal Knight is not in check on the square it came from,
+  and would not be in check on any of the squares it skipped
+  over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>It is not allowed to expose your Royal Knight to
+    check.</li>
+
+    <li>The game is won by checkmating the opponent's Royal
+    Knight.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The King moves as a Knight, the Knights move as a King.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single <b>Rook</b>, Bishop or Commoner (in addition to your own
+  King). All pairs of pieces can force checkmate on a bare King,
+  however. A Queen can even do it without help of its Royal Knight,
+  and is thus extremely dangerous.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index b8df8c5..bb5a9fb 100644 (file)
-<html>
-<header>
-<title>Mighty Lion Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="chu.js"></script>
-</header>
-<body>
-<h1>Mighty Lion Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Lion.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-b1, b8: Lion
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Mighty Lion Chess</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" -->
 
-<h3>Moves at a Glance</h3>
+  <h1>Mighty Lion Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Lion.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        b1, b8: Lion<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </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">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="2x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq4x6"></td>
 
-     </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="sq5x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </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">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </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">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq1x5"></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="h" id="0x3">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="1x3">
-<img src="sym/BlackPawn.png">
-     </td><td class="n" id="2x3">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="3x3">
+      <td class="n" id="sq4x5"></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="sq5x5"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq6x5"></td>
 
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq7x5" onmousedown="down_click(7,5)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,4)"
+      onmouseup="up_click()"><img src="sym/WhiteLion.png"></td>
 
-     </td><td class="n" id="7x2" onmouseDown="down_click(7,2)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq6x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="h" id="sq9x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="h"><img src="sym/cyan.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="w" rowspan="2" valign="top">Captured while passing
+      through the square to another destination</td>
+    </tr>
 
-     </td><td class="n" id="6x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq1x3"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq2x3"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq3x3"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,-3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq5x3"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Lion
-     </td><td>
-L
-     </td><td>
-15
-     </td><td>
-KADN(cK-aK)(K-bK)
-     </td><td>
-Can make two independent King steps per turn (capturing upto two pieces)
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>The Lion piece</h3>
-<p>
-The Lion can make two moves per turn.
-That means it can also capture two pieces per turn,
-one on the square it moves to (as normal), and one 'en passant' on the transit square.
-It can also capture on the transit square, and move on to an empty square ('hit and run'),
-or capture and move back to where it came from ('shooting' the piece from a distance, as it were).
-Of course it 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.
-It can also jump over the transit square, i.e. reach the distant two-step destination in a single jump.
-Finally it 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 pseudo-legal (i.e. without taking account of check) recapture of the capturing Lion is possible
-<i>with another piece than King</i>.
-So even when the Lion is protected only with a pinned piece, the other Lion cannot capture it <i>from a distance</i>,
-just like a King could not capture it.
-</p><p>
-When a non-Lion 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) 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.
-In the late end-game, when you have nothing to protect your Lion with other than King,
-trading becomes possible.
-</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>
-<h3>Differences with FIDE</h3>
-<p>
-One Knight is replaced by a Lion piece with very special properties.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq6x3"></td>
+
+      <td class="n" id="sq7x3"></td>
+
+      <td class="n" id="sq8x3"></td>
+
+      <td class="h" id="sq9x3"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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"></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/WhitePawn.png"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Lion</td>
+
+      <td>L</td>
+
+      <td>15</td>
+
+      <td>KADN(cK-aK)(K-bK)</td>
+
+      <td>Can make two independent King steps per turn (capturing
+      upto two pieces)</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>The Lion piece</h3>
+
+  <p>The Lion can make two moves per turn. That means it can also
+  capture two pieces per turn, one on the square it moves to (as
+  normal), and one 'en passant' on the transit square. It can also
+  capture on the transit square, and move on to an empty square
+  ('hit and run'), or capture and move back to where it came from
+  ('shooting' the piece from a distance, as it were). Of course it
+  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.
+  It can also jump over the transit square, i.e. reach the distant
+  two-step destination in a single jump. Finally it 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 pseudo-legal (i.e. without taking account of check)
+  recapture of the capturing Lion is possible <i>with another piece
+  than King</i>. So even when the Lion is protected only with a
+  pinned piece, the other Lion cannot capture it <i>from a
+  distance</i>, just like a King could not capture it.</p>
+
+  <p>When a non-Lion 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) 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. In the late end-game, when you have
+  nothing to protect your Lion with other than King, trading
+  becomes possible.</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>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>One Knight is replaced by a Lion piece with very special
+  properties.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 3fa979e..b6f49eb 100644 (file)
-<html>
-<header>
-<title>Losers Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Losers Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Losers Chess</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>Losers Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>Capture is mandatory; if ay capture is possible, you cannot play a non-capture.</li>
-<li>It is not allowed to expose your King to check.</li>
-<li>The game is won by being checkmated or being left with a bare King.</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-Capture is mandatory.
-You win by being checkmated in stead of checkmating, or by having a bare King.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Initially having more and stronger pieces makes you more likely to win.
-</p>
-<p>
-When the opponent has only King and Pawns left, blocking one of his Pawns (e.g. with Knight or Bishop),
-and then carefully refraining from attacking it while using your powerful pieces to shephard his King
-towards your own Pawns, and then finally sacrificing your mobile material to it,
-is a good way to win.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>Capture is mandatory; if ay capture is possible, you cannot
+    play a non-capture.</li>
+
+    <li>It is not allowed to expose your King to check.</li>
+
+    <li>The game is won by being checkmated or being left with a
+    bare King.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>Capture is mandatory. You win by being checkmated in stead of
+  checkmating, or by having a bare King.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Initially having more and stronger pieces makes you more
+  likely to win.</p>
+
+  <p>When the opponent has only King and Pawns left, blocking one
+  of his Pawns (e.g. with Knight or Bishop), and then carefully
+  refraining from attacking it while using your powerful pieces to
+  shephard his King towards your own Pawns, and then finally
+  sacrificing your mobile material to it, is a good way to win.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 42b2cc5..347a4a3 100644 (file)
-<html>
-<header>
-<title>Makruk</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Makruk (Thai Chess)</h1>
-<table cellpadding="20"><tr><td>
-<img src="Makruk.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-d1, e8: King
-<br>
-e1, d8: Met
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Elephant
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a3-h3, a6-h6: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Makruk</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>Makruk (Thai Chess)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Makruk.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9">
+        <p>d1, e8: King<br>
+        e1, d8: Met<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Elephant<br>
+        b1, b8, g1, g8: Knight<br>
+        a3-h3, a6-h6: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="2x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="3x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="4x9" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq4x9" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></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="h" id="0x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="5x8">
+      <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="6x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x8">
+      <td class="n" id="sq3x8"></td>
 
-</td></tr><tr><td class="h" 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="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="6x7">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="n" id="sq3x7"></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="h" id="0x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="2x6" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,0)" onmouseUp="up_click()">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="8x6">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="n" id="sq2x6" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq3x6" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq4x6" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></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,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="6x5" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="h" id="9x5">
+      <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="h" id="0x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="1x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq3x5" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
+      <td class="n" id="sq4x5" onmousedown="down_click(4,-5)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x5" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq8x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="h"><img src="sym/red.png"></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" 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" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+    <tr>
+      <td class="h" id="sq0x4"></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="sq1x4"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq2x4"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="6x2" onmouseDown="down_click(6,2)" onmouseUp="up_click()">
-<img src="sym/WhiteCommoner.png">
-     </td><td class="n" id="7x2">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="8x2">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq1x3"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="8x1">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq1x2"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq4x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
+      onmouseup="up_click()"><img src="sym/WhiteCommoner.png"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq7x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq8x2"></td>
 
-     </td><td class="n" id="8x0">
-
-     </td><td class="h" 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>
-K
-     </td><td>
-With Cambodian rules its first move can also be a non-capture Knight jump (mfhN)
-</td></tr><tr><td>
-Met
-     </td><td>
-M
-     </td><td>
-1.5
-     </td><td>
-F
-     </td><td>
-With Cambodian rules its first move can also be two steps forward (fD)
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Elephant
-     </td><td>
-S
-     </td><td>
-2.5
-     </td><td>
-FfW
-     </td><td>
-
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3.25
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to M on reaching last rank
-</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 Met when they reach the <b>6th rank</b>; there is no choice.</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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Queen and Bishops are replaced by Ferz and Elephant.
-Pawns start on the third rank.
-Promotion happens on 6th rank.
-Promotion always to Met.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Met, Elephant or Knight (in addition to your own King).
-Two Knights or two Mets cannot do it either.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>With Cambodian rules its first move can also be a
+      non-capture Knight jump (mfhN)</td>
+    </tr>
+
+    <tr>
+      <td>Met</td>
+
+      <td>M</td>
+
+      <td>1.5</td>
+
+      <td>F</td>
+
+      <td>With Cambodian rules its first move can also be two steps
+      forward (fD)</td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>S</td>
+
+      <td>2.5</td>
+
+      <td>FfW</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3.25</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to M on reaching last rank</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 Met when they reach the <b>6th rank</b>;
+    there is no choice.</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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Queen and Bishops are replaced by Ferz and Elephant. Pawns
+  start on the third rank. Promotion happens on 6th rank. Promotion
+  always to Met.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Met, Elephant or Knight (in addition to your own King).
+  Two Knights or two Mets cannot do it either.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 0e4c766..77f887a 100644 (file)
-<html>
-<header>
-<title>mini-Shogi</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="chu.js"></script>
-</header>
-<body>
-<h1>mini-Shogi (Diamond Quest)</h1>
-<table cellpadding="20"><tr><td>
-<img src="Mini.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-a1, e5: King
-<br>
-e1, a5: Rook
-<br>
-d1, hb5: Bishop
-<br>
-b1, d5: Gold General
-<br>
-c1, c5: Silver General
-<br>
-a2, e4: Pawn
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>mini-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" -->
 
-<h3>Moves at a Glance</h3>
+  <h1>mini-Shogi (Diamond Quest)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Mini.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9">
+        <p>a1, e5: King<br>
+        e1, a5: Rook<br>
+        d1, hb5: Bishop<br>
+        b1, d5: Gold General<br>
+        c1, c5: Silver General<br>
+        a2, e4: Pawn</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="2x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="3x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="4x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9"></td>
 
-     </td><td class="n" id="5x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="9x9">
+      <td class="n" id="sq5x9"></td>
 
-</td></tr><tr><td class="n" id="0x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq9x9"></td>
+    </tr>
 
-     </td><td class="n" id="4x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="9x8">
+      <td class="n" id="sq5x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq8x8"></td>
 
-     </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">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="6x7">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq3x7" onmousedown="down_click(3,7)"
+      onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
 
-</td></tr><tr><td class="n" id="0x6">
+      <td class="n" id="sq4x7" onmousedown="down_click(4,7)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq9x7"></td>
+    </tr>
 
-     </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">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="n" id="sq2x6"></td>
 
-</td></tr><tr><td class="n" id="0x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq8x6"></td>
 
-     </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="sq9x6"></td>
+    </tr>
 
-     </td><td class="n" id="9x5">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-</td></tr><tr><td class="n" id="0x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,5)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedRook.png"></td>
 
-     </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="sq7x5" onmousedown="down_click(7,5)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq8x5"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq9x5"></td>
+    </tr>
 
-     </td><td class="n" id="1x3">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="2x3">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="3x3">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="4x3">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="5x3">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq8x4"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="1x2">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq1x3"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq2x3"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq3x3"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq4x3"></td>
 
-     </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="sq5x3"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq6x3"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq7x3"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="2x1">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq4x2"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq7x2"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq8x2"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq9x2"></td>
+    </tr>
 
-     </td><td class="n" id="2x0">
+    <tr>
+      <td class="n" id="sq0x1"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq1x1"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq2x1"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq3x1"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq4x1"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq5x1"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="n" id="sq6x1"></td>
 
-     </td><td class="n" id="9x0">
+      <td class="n" id="sq7x1"></td>
 
-</td></tr></table>
+      <td class="n" id="sq8x1"></td>
 
-<p id="piece" height="20">:<br>:<br>:<br>:</p>
+      <td class="n" id="sq9x1"></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>
-WF
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-WW
-     </td><td>
-Promotes tp Dragon
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-4
-     </td><td>
-FF
-     </td><td>
-Promotes to Horse
-</td></tr><tr><td>
-Gold
-     </td><td>
-G
-     </td><td>
-4
-     </td><td>
-WfF
-     </td><td>
-
-</td></tr><tr><td>
-Silver
-     </td><td>
-S
-     </td><td>
-3.5
-     </td><td>
-FfW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-fW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td colspan="5">
-Promoted pieces (not initially present)
-</td></tr><tr><td>
-Dragon
-     </td><td>
-D or +R
-     </td><td>
-6
-     </td><td>
-RF
-     </td><td>
-
-</td></tr><tr><td>
-Horse
-     </td><td>
-H or +B
-     </td><td>
-5
-     </td><td>
-BW
-     </td><td>
-
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns move <b>and capture</b> straight ahead.</li>
-<li>It is forbidded to have more than one Pawn in the same file.</li>
-<li>It is forbidden to checkmate the opponent with a Pawn drop.</p>
-</ul>
-<h3>General rules</h3>
-<ul>
-<li>The game is won by capturing the opponent's King.</li>
-<li>Pieces captured change color, and are kept in hand by the side who captured them.
-In stead of a normal move, such pieces can be dropped at any later time.</li>
-<li>Pieces cannot be moved or dropped to a location where all their moves would go off board.</li>
-<li>Pieces optionally promote at the end of a move into, in or out of the promotion zone.</li>
-<li>The promotion zone consists of the last rank.</li>
-<li>Pieces obtained by promotion revert to their original form on capture.</li>
-<li>Perpetual checking is forbidden, and would be ruled a loss on the 4-fold repeat.</li>
-<li><b>On other 4-fold repetitions white loses.</b></li>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-Mini-Shogi is (not yet) a standard variant in XBoard.
-It has to be played in XBoard by selecting regular Shogi
-after having set the board- and holdings-size overrides in the New Variant dialog all to 5
-(i.e. 5x5 board, and holdings for 5 piece types).
-This is not all, however; the pieceToCharTable has to be changed to tell XBoard that the Lance and Knight do not participate.
-(In regular Shogi they would, but here they would push Silver and Gold out of the holdings!)
-This can unfortunately only be done through command-line options.
-</p>
-<p>
-It is therefore best to put all options needed to massage XBoard into playing this variant in a settings file mini.xop.
-On install .xop files are associated with XBoard, so clicking them would start XBoard with the options in that file.
-You could then set everything in the file needed to start in mini-Shogi mode:
-<pre>
+    <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>WF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>WW</td>
+
+      <td>Promotes tp Dragon</td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>4</td>
+
+      <td>FF</td>
+
+      <td>Promotes to Horse</td>
+    </tr>
+
+    <tr>
+      <td>Gold</td>
+
+      <td>G</td>
+
+      <td>4</td>
+
+      <td>WfF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Silver</td>
+
+      <td>S</td>
+
+      <td>3.5</td>
+
+      <td>FfW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>fW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td colspan="5">Promoted pieces (not initially present)</td>
+    </tr>
+
+    <tr>
+      <td>Dragon</td>
+
+      <td>D or +R</td>
+
+      <td>6</td>
+
+      <td>RF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Horse</td>
+
+      <td>H or +B</td>
+
+      <td>5</td>
+
+      <td>BW</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns move <b>and capture</b> straight ahead.</li>
+
+    <li>It is forbidded to have more than one Pawn in the same
+    file.</li>
+
+    <li>It is forbidden to checkmate the opponent with a Pawn
+    drop.</li>
+  </ul>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>The game is won by capturing the opponent's King.</li>
+
+    <li>Pieces captured change color, and are kept in hand by the
+    side who captured them. In stead of a normal move, such pieces
+    can be dropped at any later time.</li>
+
+    <li>Pieces cannot be moved or dropped to a location where all
+    their moves would go off board.</li>
+
+    <li>Pieces optionally promote at the end of a move into, in or
+    out of the promotion zone.</li>
+
+    <li>The promotion zone consists of the last rank.</li>
+
+    <li>Pieces obtained by promotion revert to their original form
+    on capture.</li>
+
+    <li>Perpetual checking is forbidden, and would be ruled a loss
+    on the 4-fold repeat.</li>
+
+    <li><b>On other 4-fold repetitions white loses.</b></li>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>Mini-Shogi is (not yet) a standard variant in XBoard. It has
+  to be played in XBoard by selecting regular Shogi after having
+  set the board- and holdings-size overrides in the New Variant
+  dialog all to 5 (i.e. 5x5 board, and holdings for 5 piece types).
+  This is not all, however; the pieceToCharTable has to be changed
+  to tell XBoard that the Lance and Knight do not participate. (In
+  regular Shogi they would, but here they would push Silver and
+  Gold out of the holdings!) This can unfortunately only be done
+  through command-line options.</p>
+
+  <p>It is therefore best to put all options needed to massage
+  XBoard into playing this variant in a settings file mini.xop. On
+  install .xop files are associated with XBoard, so clicking them
+  would start XBoard with the options in that file. You could then
+  set everything in the file needed to start in mini-Shogi
+  mode:</p>
+  <pre>
 -variant shogi
 -boardHeight 5
 -boardWidth 5
 -holdingsSize 5
 -pieceToCharTable "P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k"
-</pre>
-Since the game is just a subset of regular Shogi, legality testing can remain on.
-You could also specify your favorite mini-Shogi engine with -fcp in that file.
-</p>
-<p>
-You can drop pieces by dragging them onto the board from the holdings displayed beside the board.
-</p>
-<p>
-Of course there will always be people that prefer an oriental look, with pentagonal kanji tiles.
-XBoard comes with a set of kanji pieces in the 'themes/shogi' sub-directory of its data directory
-(e.g. /usr/local/share/games/xboard).
-You can select that as -pieceImageDirectory (-pid for short) from the command line, or from the View -> Board dialog.
-You would also have to tick 'Flip black pieces Shogi style' there (or use the option <b>-flipBlack true</b>)
-to make sure the pieces won't go upside down when you flip the view.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-In stead of Queens you have Silver and Gold Generals.
-Pawns capture straight ahead.
-Captured pieces can later be dropped to augment the army of their capturer.
-There is no castling, Pawn double-push or e.p. capture.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Because pieces are dropped back, there will not be a traditional end-game.
-Trading material does not constitute progress towards winning, even when you are ahead.
-</p>
-<p>
-Because Gold Generals obtained through promotion revert to their original form on capture,
-they are really different piece types from the primordial Golds that move the same.
-In notation they are therefore not indicated as 'G', but as the ID of the original piece prefixed with a '+'.
-Especially the promoted Pawn (aka Tokin) is more valuable: it is much better to lose a Gold that gives the opponent a Pawn in hand,
-than to lose a Gold that gives him a Gold in hand.
-</p>
-<p>
-It is a big advantage to have a General on the central square.
-</p>
-<p>
-Pieces in hand are in general worth more than on the board, as they are much more mobile.
-And you can drop them in the promotion for an easy promotion on the next turn.
-But pieces in hand cannot capture anything, and don't guard your promotion zone.
-</p>
-<p>
-</p>
-<p>
-</p>
+</pre>Since the game is just a subset of regular Shogi, legality
+testing can remain on. You could also specify your favorite
+mini-Shogi engine with -fcp in that file.
+
+  <p>You can drop pieces by dragging them onto the board from the
+  holdings displayed beside the board.</p>
+
+  <p>Of course there will always be people that prefer an oriental
+  look, with pentagonal kanji tiles. XBoard comes with a set of
+  kanji pieces in the 'themes/shogi' sub-directory of its data
+  directory (e.g. /usr/local/share/games/xboard). You can select
+  that as -pieceImageDirectory (-pid for short) from the command
+  line, or from the View -&gt; Board dialog. You would also have to
+  tick 'Flip black pieces Shogi style' there (or use the option
+  <b>-flipBlack true</b>) to make sure the pieces won't go upside
+  down when you flip the view.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>In stead of Queens you have Silver and Gold Generals. Pawns
+  capture straight ahead. Captured pieces can later be dropped to
+  augment the army of their capturer. There is no castling, Pawn
+  double-push or e.p. capture.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Because pieces are dropped back, there will not be a
+  traditional end-game. Trading material does not constitute
+  progress towards winning, even when you are ahead.</p>
+
+  <p>Because Gold Generals obtained through promotion revert to
+  their original form on capture, they are really different piece
+  types from the primordial Golds that move the same. In notation
+  they are therefore not indicated as 'G', but as the ID of the
+  original piece prefixed with a '+'. Especially the promoted Pawn
+  (aka Tokin) is more valuable: it is much better to lose a Gold
+  that gives the opponent a Pawn in hand, than to lose a Gold that
+  gives him a Gold in hand.</p>
+
+  <p>It is a big advantage to have a General on the central
+  square.</p>
+
+  <p>Pieces in hand are in general worth more than on the board, as
+  they are much more mobile. And you can drop them in the promotion
+  for an easy promotion on the next turn. But pieces in hand cannot
+  capture anything, and don't guard your promotion zone.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index b6aa4fd..51b7193 100644 (file)
-<html>
-<header>
-<title>No Castle</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>No Castle</h1>
-<p>
-This is a shuffle variant of normal Chess, which in general destroys the possibility to castle,
-as the King and Rooks are also shuffled.
-For uniformity, castling is therefore always forbidden.
-</p>
-<table cellpadding="20"><tr><td>
-<img src="No.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-There is no fixed setup;
-the back-rank pieces are randomly shuffled with certain restrictions.
-Black's setup is the mirror image of white's, though.
-</p><p>
-</p><p>
-Both sides have:
-</p><p>
-1 King
-<br>
-1 Queen
-<br>
-2 Rooks
-<br>
-2 Bishops
-<br>
-2 Knights
-<br>
-a2-j2, a7-j7: Pawns
-</p>
-<p>
-The Bishops will start on opposite colors.
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>No Castle</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>No Castle</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <p>This is a shuffle variant of normal Chess, which in general
+  destroys the possibility to castle, as the King and Rooks are
+  also shuffled. For uniformity, castling is therefore always
+  forbidden.</p>
 
-<table class="board"><tr><td class="h" id="0x9">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="No.png"></td>
 
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>There is no fixed setup; the back-rank pieces are
+        randomly shuffled with certain restrictions. Black's setup
+        is the mirror image of white's, though.</p>
 
-     </td><td class="n" id="3x9">
+        <p>Both sides have:</p>
 
-     </td><td class="n" id="4x9">
+        <p>1 King<br>
+        1 Queen<br>
+        2 Rooks<br>
+        2 Bishops<br>
+        2 Knights<br>
+        a2-j2, a7-j7: Pawns</p>
 
-     </td><td class="n" id="5x9">
+        <p>The Bishops will start on opposite colors.</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="6x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="7x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="8x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq1x9"></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="h" id="0x8">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq5x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="h" id="9x8">
+      <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></tr><tr><td class="h" id="0x7">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h">
-<img src="sym/orange.png">
-     </td><td class="w">
-Unblockable leap (capture or non-capture)
-</td></tr><tr><td class="h" id="0x6">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="2x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq5x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq6x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq7x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq8x5"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x2">
+    <tr>
+      <td class="h" 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"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq6x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="4x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="9x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Back-rank pieces are randomly shuffled on the back rank in the opening setup.
-There is no castling.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+    <tr>
+      <td class="h" 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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Back-rank pieces are randomly shuffled on the back rank in
+  the opening setup. There is no castling.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 976751c..5575c00 100644 (file)
-<html>
-<header>
-<title>Seirawan Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Seirawan Chess (S-Chess)</h1>
-<table cellpadding="20"><tr><td>
-<img src="Seirawan.png">
-<p><i>Pieces available for gating will be displayed beside the board</i></p>
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-<br>
-<b>In each hand</b>
-<br>
-1 Elephant
-<br>
-1 Hawk
-</p>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Seirawan Chess</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" -->
 
-</td></tr></table>
+  <h1>Seirawan Chess (S-Chess)</h1>
 
-<h3>Moves at a Glance</h3>
+  <table cellpadding="20">
+    <tr>
+      <td>
+        <img src="Seirawan.png">
 
-<p>Click on a piece below to see its moves</p>
+        <p><i>Pieces available for gating will be displayed beside
+        the board</i></p>
+      </td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: Pawns<br>
+        <b>In each hand</b><br>
+        1 Elephant<br>
+        1 Hawk</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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,10)" onmouseUp="up_click()">
-<img src="sym/WhiteHawk.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="2x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,10)"
+      onmouseup="up_click()"><img src="sym/WhiteHawk.png"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(-5,4)" onmouseUp="up_click()">
-<img src="sym/WhiteElephant.png">
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq4x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq6x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq7x5"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="4x2">
+    <tr>
+      <td class="h" id="sq0x4"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(-5,4)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="5x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="h" id="9x1">
-<img src="sym/WhiteElephant.png">
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </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" onmouseDown="down_click(7,0)" onmouseUp="up_click()">
-<img src="sym/WhiteKnight.png">
-     </td><td class="n" id="8x0">
-
-     </td><td class="h" id="9x0">
-<img src="sym/WhiteHawk.png">
-</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>
-Can castle with Rook, moving 3 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-Hawk
-     </td><td>
-H
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, E, H, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to any other (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move <b>three</b> squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square next to the King on the other side.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>The Elephant or Hawk can be 'gated' into play, by placing them on a square evacuated by a back-rank piece
-that moved for the first time, as second part of the same turn.</li>
-<li>During gating, your King must not 'pass through check'.</li>
-<li>When castling, you can gate onto the King or Rook square, but not on both.</li>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-To perform a gating move, first select the piece to be gated.
-(When you have not switched off highlighting or the line gap, this will draw a yellow border around the piece.)
-Then move the piece on the back rank.
-If you drag the piece, the gated piece will appear from under it.
-(With click-click moving you will only see it after the move is already done.)
-To gate on the Rook square after castling, you have to enter the castling by dragging the Rook onto the King!
-</p>
-<p>
-To enter a gating move by typing, you have to suffix them with /H or /E.
-For gating on the Rook square after castling, you would have to write the castling as RxK.
-(Ughh! Good thing that no one in his right mind would want to gate there!)
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The Elephant and Hawk pieces are extra, and enter the board by gating.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-The Archbishop can force checkmate against a bare King.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Elephant and Hawk are nearly equal in value to Queen, under-promotion is very common.
-</p>
-<p>
-The super-pieces (Q, E, H) devaluate by the presence of lower-valued opponent pieces.
-As a result trading Q for R + B is in general a good trade when you still have E and H,
-as the latter gain in value by eliminating the opponent's R and B,
-which is more compensation than the intrinsic value difference between Q and R + B.
-</p>
-<p>
-Keeping E and H in hand is good if there are still many gating opportunities,
-as you can then gate at the location that is most damaging to your opponents position.
-When there are not too many positions left, protecting the remaining ones becomes a vulnerability, however,
-so you better use them were you still can.
-If you still have a piece in hand, and only a single Knight that can gate it (bacause all your other pieces already moved),
-even sacrificing a Queen for that Knight would gain your opponent a piece.
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
+
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
+
+      <td class="n" id="sq8x3"></td>
+
+      <td class="h" id="sq9x3"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"><img src="sym/WhiteElephant.png"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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" onmousedown="down_click(7,0)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
+
+      <td class="n" id="sq8x0"></td>
+
+      <td class="h" id="sq9x0"><img src="sym/WhiteHawk.png"></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>Can castle with Rook, moving 3 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Hawk</td>
+
+      <td>H</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, E, H, R, B, or N on reaching last
+      rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to any other (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move <b>three</b> squares
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square next to the King on the
+  other side. This is only allowed if all squares between King and
+  Rook are empty, when the King is not in check on the square it
+  came from, and would not be in check on any of the squares it
+  skipped over.</p>
+
+  <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>The Elephant or Hawk can be 'gated' into play, by placing
+    them on a square evacuated by a back-rank piece that moved for
+    the first time, as second part of the same turn.</li>
+
+    <li>During gating, your King must not 'pass through
+    check'.</li>
+
+    <li>When castling, you can gate onto the King or Rook square,
+    but not on both.</li>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>To perform a gating move, first select the piece to be gated.
+  (When you have not switched off highlighting or the line gap,
+  this will draw a yellow border around the piece.) Then move the
+  piece on the back rank. If you drag the piece, the gated piece
+  will appear from under it. (With click-click moving you will only
+  see it after the move is already done.) To gate on the Rook
+  square after castling, you have to enter the castling by dragging
+  the Rook onto the King!</p>
+
+  <p>To enter a gating move by typing, you have to suffix them with
+  /H or /E. For gating on the Rook square after castling, you would
+  have to write the castling as RxK. (Ughh! Good thing that no one
+  in his right mind would want to gate there!)</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Elephant and Hawk pieces are extra, and enter the board by
+  gating.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. The Archbishop can force checkmate
+  against a bare King.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Elephant and Hawk are nearly equal in value to Queen,
+  under-promotion is very common.</p>
+
+  <p>The super-pieces (Q, E, H) devaluate by the presence of
+  lower-valued opponent pieces. As a result trading Q for R + B is
+  in general a good trade when you still have E and H, as the
+  latter gain in value by eliminating the opponent's R and B, which
+  is more compensation than the intrinsic value difference between
+  Q and R + B.</p>
+
+  <p>Keeping E and H in hand is good if there are still many gating
+  opportunities, as you can then gate at the location that is most
+  damaging to your opponents position. When there are not too many
+  positions left, protecting the remaining ones becomes a
+  vulnerability, however, so you better use them were you still
+  can. If you still have a piece in hand, and only a single Knight
+  that can gate it (bacause all your other pieces already moved),
+  even sacrificing a Queen for that Knight would gain your opponent
+  a piece.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 82d02c8..592a9bf 100644 (file)
-<html>
-<header>
-<title>Shatranj</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Shatranj (ancient Arabic/Persian Chess)</h1>
-<table cellpadding="20"><tr><td>
-<img src="Shatranj.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-d1, d8: King
-<br>
-e1, e8: Ferz (General)
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Alfil (Elephant)
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>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>Shatranj (ancient Arabic/Persian Chess)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Shatranj.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9">
+        <p>d1, d8: King<br>
+        e1, e8: Ferz (General)<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Alfil (Elephant)<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="2x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="3x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="4x9" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="6x9">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq4x9" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></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="h" id="0x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="5x8">
+      <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="6x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x8">
+      <td class="n" id="sq3x8"></td>
 
-</td></tr><tr><td class="h" 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="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="6x7">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="n" id="sq3x7"></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="h" id="0x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="2x6" onmouseDown="down_click(2,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,0)" onmouseUp="up_click()">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="8x6">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="n" id="sq2x6" onmousedown="down_click(2,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq3x6" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq4x6" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,5)" onmouseUp="up_click()">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></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,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="2x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,4)" onmouseUp="up_click()">
+      <td class="n" id="sq3x5" onmousedown="down_click(3,5)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq4x5" onmousedown="down_click(4,5)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq5x5" onmousedown="down_click(5,5)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq7x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="h" id="sq9x5"></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" 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" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </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">
+    <tr>
+      <td class="h" id="sq0x4"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq1x4"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,4)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="8x2">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq1x3"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="8x1">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq1x2"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq3x2"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq4x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq6x2"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq7x2"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq8x2"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="h" id="sq9x2"></td>
+    </tr>
 
-     </td><td class="h" id="9x0">
+    <tr>
+      <td class="h" id="sq0x1"></td>
 
-</td></tr></table>
+      <td class="n" id="sq1x1"></td>
 
-<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>
-No castling of any kind
-</td></tr><tr><td>
-Ferz
-     </td><td>
-Q
-     </td><td>
-2
-     </td><td>
-F
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-8
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Alfil
-     </td><td>
-B
-     </td><td>
-1
-     </td><td>
-A
-     </td><td>
-Bound to 8 squares!
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-4
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Ferz on reaching last rank
-</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 Ferz when they reach last rank; there is no choice.</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) also counts as a loss for the stalemated side.</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>Differences with FIDE</h3>
-<p>
-The Ferz and Alfil replace the Queen and Bishop.
-The Pawn have no double move.
-No castling.
-The King starts on the e-file.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Because of the baring rule a win is possible with any material other than a bare King.
-</p>
-<p>
-Alfils are not only color bound, but also skip over half the files and ranks.
-So they can only reach 8 squares, making them next to worthless.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>No castling of any kind</td>
+    </tr>
+
+    <tr>
+      <td>Ferz</td>
+
+      <td>Q</td>
+
+      <td>2</td>
+
+      <td>F</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>8</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Alfil</td>
+
+      <td>B</td>
+
+      <td>1</td>
+
+      <td>A</td>
+
+      <td>Bound to 8 squares!</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>4</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Ferz on reaching last rank</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 Ferz when they reach last rank; there is
+    no choice.</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) also counts as
+    a loss for the stalemated side.</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>Differences with FIDE</h3>
+
+  <p>The Ferz and Alfil replace the Queen and Bishop. The Pawn have
+  no double move. No castling. The King starts on the e-file.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Because of the baring rule a win is possible with any material
+  other than a bare King.</p>
+
+  <p>Alfils are not only color bound, but also skip over half the
+  files and ranks. So they can only reach 8 squares, making them
+  next to worthless.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index a44efb0..a90d9dc 100644 (file)
-<html>
-<header>
-<title>Sho Shogi</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="chu.js"></script>
-<body>
-<h1>Sho Shogi (precurser of modern Japanese Chess)</h1>
-<p>
-Sho Shogi means 'small Shogi', and was one of the smaller variants of Japanese Chess,
-living in the shadow of its far more popular big brother, Chu Shogi ('middle Shogi').
-Until people invented piece drops for the captured pieces.
-The small game was much more suitable for playing with piece drops,
-and a small adaptation (eliminating the Elephant) made it into the modern game.
-While Chu Shogi is in fact utterly unsuitable for playing with drops.
-And in the end, the drops won the day!
-</p>
-<table cellpadding="20"><tr><td>
-<img src="Sho.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-b8, h2: Rook
-<br>
-b2, h8: Bishop
-<br>
-e2, e8: Elephant
-<br>
-d1, d8, f1, f8: Gold General
-<br>
-c1, c8, g1, g8: Silver General
-<br>
-b1, b8, h1, h8: (Shogi) Knight
-<br>
-a1, a8, i1, i8: Lance
-<br>
-a3-i3, a7-i7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Sho 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" -->
 
-<h3>Moves at a Glance</h3>
+  <h1>Sho Shogi (precurser of modern Japanese Chess)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <p>Sho Shogi means 'small Shogi', and was one of the smaller
+  variants of Japanese Chess, living in the shadow of its far more
+  popular big brother, Chu Shogi ('middle Shogi'). Until people
+  invented piece drops for the captured pieces. The small game was
+  much more suitable for playing with piece drops, and a small
+  adaptation (eliminating the Elephant) made it into the modern
+  game. While Chu Shogi is in fact utterly unsuitable for playing
+  with drops. And in the end, the drops won the day!</p>
 
-<table class="board"><tr><td class="n" id="0x9">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Sho.png"></td>
 
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        b8, h2: Rook<br>
+        b2, h8: Bishop<br>
+        e2, e8: Elephant<br>
+        d1, d8, f1, f8: Gold General<br>
+        c1, c8, g1, g8: Silver General<br>
+        b1, b8, h1, h8: (Shogi) Knight<br>
+        a1, a8, i1, i8: Lance<br>
+        a3-i3, a7-i7: 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></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>
+    </tr>
 
-     </td><td class="n" id="5x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="9x8">
+      <td class="n" id="sq4x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq7x8"></td>
 
-     </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">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq9x8"></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></tr><tr><td class="n" id="0x6">
+      <td class="n" id="sq3x7" onmousedown="down_click(3,7)"
+      onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq4x7" onmousedown="down_click(4,7)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq8x7"></td>
 
-     </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">
+      <td class="n" id="sq9x7"></td>
+    </tr>
 
-     </td><td class="n" id="9x6">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-</td></tr><tr><td class="n" id="0x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </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="sq7x6" onmousedown="down_click(7,6)"
+      onmouseup="up_click()"><img src="sym/WhiteElephant.png"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-</td></tr><tr><td class="n" id="0x4">
+      <td class="n" id="sq9x6"></td>
+    </tr>
 
-     </td><td class="n" id="1x4">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq4x5"></td>
 
-     </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="sq5x5"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,5)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedRook.png"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq7x5" onmousedown="down_click(7,5)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="2x3">
+      <td class="n" id="sq9x5"></td>
+    </tr>
 
-     </td><td class="n" id="3x3">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="4x3">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="5x3">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="3x2" onmouseDown="down_click(3,2)" onmouseUp="up_click()">
-<img src="sym/WhiteKnight.png">
-     </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">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </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="sq1x3"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq2x3"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq3x3"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq4x3"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq5x3"></td>
 
-     </td><td class="n" id="2x1">
+      <td class="n" id="sq6x3"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq7x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="6x1">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq3x2" onmousedown="down_click(3,2)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq4x2" onmousedown="down_click(4,2)"
+      onmouseup="up_click()"><img src="sym/WhiteLance.png"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq7x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq8x2"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq9x2"></td>
+    </tr>
 
-     </td><td class="n" id="6x0">
+    <tr>
+      <td class="n" id="sq0x1"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq1x1"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="n" id="sq2x1"></td>
 
-     </td><td class="n" id="9x0">
+      <td class="n" id="sq3x1"></td>
 
-</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>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-15
-     </td><td>
-R
-     </td><td>
-Promotes to Dragon
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-13
-     </td><td>
-B
-     </td><td>
-Promotes to Horse
-</td></tr><tr><td>
-Elephant
-     </td><td>
-E
-     </td><td>
-11
-     </td><td>
-FsfW
-     </td><td>
-<b>Promotes to a second King</b>
-</td></tr><tr><td>
-Gold
-     </td><td>
-G
-     </td><td>
-9
-     </td><td>
-WfF
-     </td><td>
-
-</td></tr><tr><td>
-Silver
-     </td><td>
-S
-     </td><td>
-8
-     </td><td>
-FfW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-6
-     </td><td>
-fN
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Lance
-     </td><td>
-L
-     </td><td>
-5
-     </td><td>
-fN
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-fW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td colspan="5">
-Promoted pieces (not initially present)
-</td></tr><tr><td>
-Dragon
-     </td><td>
-D or +R
-     </td><td>
-18
-     </td><td>
-RF
-     </td><td>
-
-</td></tr><tr><td>
-Horse
-     </td><td>
-H or +B
-     </td><td>
-15.5
-     </td><td>
-BW
-     </td><td>
-
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns move <b>and capture</b> straight ahead.</li>
-<li>It is forbidded to have more than one Pawn in the same file.</li>
-<li>It is forbidden to checkmate the opponent with a Pawn drop.</p>
-</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, in or out of the promotion zone.</li>
-<li>The promotion zone consists of the last three ranks.</li>
-<li>Perpetual checking is forbidden, and would be ruled a loss on the 4-fold repeat.</li>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-Sho Shogi is not a standard variant in XBoard.
-It has to be played in XBoard by selecting regular Shogi
-after having set the holdings-size override in the New Variant dialog to 0, to disable piece drops.
-This is not all, however; the pieceToCharTable has to be changed to tell XBoard that the Elephant participates.
-This can unfortunately only be done through command-line options.
-</p>
-<p>
-It is therefore best to put all options needed to massage XBoard into playing this variant in a settings file sho.xop.
-On install .xop files are associated with XBoard, so clicking them would start XBoard with the options in that file.
-You could then set everything in the file needed to start in Sho-Shogi mode:
-<pre>
+      <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></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>15</td>
+
+      <td>R</td>
+
+      <td>Promotes to Dragon</td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>13</td>
+
+      <td>B</td>
+
+      <td>Promotes to Horse</td>
+    </tr>
+
+    <tr>
+      <td>Elephant</td>
+
+      <td>E</td>
+
+      <td>11</td>
+
+      <td>FsfW</td>
+
+      <td><b>Promotes to a second King</b></td>
+    </tr>
+
+    <tr>
+      <td>Gold</td>
+
+      <td>G</td>
+
+      <td>9</td>
+
+      <td>WfF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Silver</td>
+
+      <td>S</td>
+
+      <td>8</td>
+
+      <td>FfW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>6</td>
+
+      <td>fN</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Lance</td>
+
+      <td>L</td>
+
+      <td>5</td>
+
+      <td>fN</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>fW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td colspan="5">Promoted pieces (not initially present)</td>
+    </tr>
+
+    <tr>
+      <td>Dragon</td>
+
+      <td>D or +R</td>
+
+      <td>18</td>
+
+      <td>RF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Horse</td>
+
+      <td>H or +B</td>
+
+      <td>15.5</td>
+
+      <td>BW</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns move <b>and capture</b> straight ahead.</li>
+
+    <li>It is forbidded to have more than one Pawn in the same
+    file.</li>
+
+    <li>It is forbidden to checkmate the opponent with a Pawn
+    drop.</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, in or out of the
+    promotion zone.</li>
+
+    <li>The promotion zone consists of the last three ranks.</li>
+
+    <li>Perpetual checking is forbidden, and would be ruled a loss
+    on the 4-fold repeat.</li>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>Sho Shogi is not a standard variant in XBoard. It has to be
+  played in XBoard by selecting regular Shogi after having set the
+  holdings-size override in the New Variant dialog to 0, to disable
+  piece drops. This is not all, however; the pieceToCharTable has
+  to be changed to tell XBoard that the Elephant participates. This
+  can unfortunately only be done through command-line options.</p>
+
+  <p>It is therefore best to put all options needed to massage
+  XBoard into playing this variant in a settings file sho.xop. On
+  install .xop files are associated with XBoard, so clicking them
+  would start XBoard with the options in that file. You could then
+  set everything in the file needed to start in Sho-Shogi mode:</p>
+  <pre>
 -variant shogi
 -holdingsSize 0
 -pieceToCharTable "PNBRLSE..G.+.++.++Kpnbrlse..g.+.++.++k"
-</pre>
-Since the game is just a subset of regular Shogi, legality testing can remain on.
-You could also specify your favorite Sho-Shogi engine with -fcp in that file.
-</p>
-<p>
-Of course there will always be people that prefer an oriental look, with pentagonal kanji tiles.
-XBoard comes with a set of kanji pieces in the 'themes/shogi' sub-directory of its data directory
-(e.g. /usr/local/share/games/xboard).
-You can select that as -pieceImageDirectory (-pid for short) from the command line, or from the View -> Board dialog.
-You would also have to tick 'Flip black pieces Shogi style' there (or use the option <b>-flipBlack true</b>)
-to make sure the pieces won't go upside down when you flip the view.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-In stead of Queens you have Silver and Gold Generals, and Lances.
-The Knight only has the two forward-most moves of a FIDE Knight.
-Pawns capture straight ahead.
-There is no castling, Pawn double-push or e.p. capture.
-Other pieces than Pawns also promote.
-The promotion zone is three ranks deep in stead of one.
-You have an Elphant that can promote to a second King.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Most pieces are quite slow, or not manoeuvrable at all, and their practical value is very dependent on how far they are from the Kings.
-</p>
-<p>
-</p>
-<p>
-</p>
+</pre>Since the game is just a subset of regular Shogi, legality
+testing can remain on. You could also specify your favorite
+Sho-Shogi engine with -fcp in that file.
+
+  <p>Of course there will always be people that prefer an oriental
+  look, with pentagonal kanji tiles. XBoard comes with a set of
+  kanji pieces in the 'themes/shogi' sub-directory of its data
+  directory (e.g. /usr/local/share/games/xboard). You can select
+  that as -pieceImageDirectory (-pid for short) from the command
+  line, or from the View -&gt; Board dialog. You would also have to
+  tick 'Flip black pieces Shogi style' there (or use the option
+  <b>-flipBlack true</b>) to make sure the pieces won't go upside
+  down when you flip the view.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>In stead of Queens you have Silver and Gold Generals, and
+  Lances. The Knight only has the two forward-most moves of a FIDE
+  Knight. Pawns capture straight ahead. There is no castling, Pawn
+  double-push or e.p. capture. Other pieces than Pawns also
+  promote. The promotion zone is three ranks deep in stead of one.
+  You have an Elphant that can promote to a second King.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Most pieces are quite slow, or not manoeuvrable at all, and
+  their practical value is very dependent on how far they are from
+  the Kings.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index d2ed972..bb08f55 100644 (file)
-<html>
-<header>
-<title>Shogi</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="chu.js"></script>
-<body>
-<h1>Shogi (Japanese Chess)</h1>
-<p>
-Shogi (literally meaning 'Generals Game') is highly popular in Japan,
-and is the World's third major Chess variant, after Xiangqi and FIDE.
-Draws hardly occur, because there rule that captured pieces can be dropped back on the board
-ensures the game can go on until a decision is reached.
-Historically, it are these piece drops that have won the game its popularity;
-the dropless version, Sho Shogi (= small Shogi) was overwhelmed in popularity by the also dropless Chu Shogi
-(= middle Shogi).
-</p>
-<table cellpadding="20"><tr><td>
-<img src="Shogi.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-b8, h2: Rook
-<br>
-b2, h8: Bishop
-<br>
-d1, d8, f1, f8: Gold General
-<br>
-c1, c8, g1, g8: Silver General
-<br>
-b1, b8, h1, h8: (Shogi) Knight
-<br>
-a1, a8, i1, i8: Lance
-<br>
-a3-i3, a7-i7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>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" -->
 
-<h3>Moves at a Glance</h3>
+  <h1>Shogi (Japanese Chess)</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <p>Shogi (literally meaning 'Generals Game') is highly popular in
+  Japan, and is the World's third major Chess variant, after
+  Xiangqi and FIDE. Draws hardly occur, because there rule that
+  captured pieces can be dropped back on the board ensures the game
+  can go on until a decision is reached. Historically, it are these
+  piece drops that have won the game its popularity; the dropless
+  version, Sho Shogi (= small Shogi) was overwhelmed in popularity
+  by the also dropless Chu Shogi (= middle Shogi).</p>
 
-<table class="board"><tr><td class="n">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Shogi.png"></td>
 
-     </td><td class="n" id="1x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        b8, h2: Rook<br>
+        b2, h8: Bishop<br>
+        d1, d8, f1, f8: Gold General<br>
+        c1, c8, g1, g8: Silver General<br>
+        b1, b8, h1, h8: (Shogi) Knight<br>
+        a1, a8, i1, i8: Lance<br>
+        a3-i3, a7-i7: 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"></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></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>
+    </tr>
 
-     </td><td class="n" id="5x8">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="9x8">
+      <td class="n" id="sq4x8"></td>
 
-</td></tr><tr><td class="n" id="0x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq7x8"></td>
 
-     </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">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq9x8"></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></tr><tr><td class="n" id="0x6">
+      <td class="n" id="sq3x7" onmousedown="down_click(3,7)"
+      onmouseup="up_click()"><img src="sym/WhiteGold.png"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq4x7" onmousedown="down_click(4,7)"
+      onmouseup="up_click()"><img src="sym/WhiteAdvisor.png"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq8x7"></td>
 
-     </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,0)" onmouseUp="up_click()">
+      <td class="n" id="sq9x7"></td>
+    </tr>
 
-     </td><td class="n" id="8x6">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="n" id="sq1x6"></td>
 
-</td></tr><tr><td class="n" id="0x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,0)"
+      onmouseup="up_click()"></td>
 
-     </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="sq8x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq9x6"></td>
+    </tr>
 
-</td></tr><tr><td class="n" id="0x4">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq5x5"></td>
 
-     </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="sq6x5" onmousedown="down_click(6,5)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedRook.png"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="n" id="sq7x5" onmousedown="down_click(7,5)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-</td></tr><tr><td class="n" id="0x3">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq9x5"></td>
+    </tr>
 
-     </td><td class="n" id="2x3">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="3x3">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="4x3">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="5x3">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="6x3">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="7x3">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="n" id="8x3">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteCrownedBishop.png"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq7x4" onmousedown="down_click(7,4)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x2">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-     </td><td class="n" id="3x2" onmouseDown="down_click(3,2)" onmouseUp="up_click()">
-<img src="sym/WhiteKnight.png">
-     </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">
+      <td class="n" id="sq1x3"></td>
 
-     </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="sq2x3"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq3x3"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq4x3"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq5x3"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq6x3"></td>
 
-     </td><td class="n" id="2x1">
+      <td class="n" id="sq7x3"></td>
 
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="5x1">
+    <tr>
+      <td class="n" id="sq0x2"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq1x2"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq2x2"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq3x2" onmousedown="down_click(3,2)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="9x1">
+      <td class="n" id="sq4x2" onmousedown="down_click(4,2)"
+      onmouseup="up_click()"><img src="sym/WhiteLance.png"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq5x2"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq6x2" onmousedown="down_click(6,2)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq7x2"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq8x2"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq9x2"></td>
+    </tr>
 
-     </td><td class="n" id="5x0">
+    <tr>
+      <td class="n" id="sq0x1"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq1x1"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq2x1"></td>
 
-     </td><td class="n" id="8x0">
+      <td class="n" id="sq3x1"></td>
 
-     </td><td class="n" id="9x0">
+      <td class="n" id="sq4x1"></td>
 
-</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>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-15
-     </td><td>
-R
-     </td><td>
-Promotes to Dragon
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-13
-     </td><td>
-B
-     </td><td>
-Promotes to Horse
-</td></tr><tr><td>
-Gold
-     </td><td>
-G
-     </td><td>
-9
-     </td><td>
-WfF
-     </td><td>
-
-</td></tr><tr><td>
-Silver
-     </td><td>
-S
-     </td><td>
-8
-     </td><td>
-FfW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-6
-     </td><td>
-fN
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Lance
-     </td><td>
-L
-     </td><td>
-5
-     </td><td>
-fN
-     </td><td>
-promotes to Gold
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-fW
-     </td><td>
-promotes to Gold
-</td></tr><tr><td colspan="5">
-Promoted pieces (not initially present)
-</td></tr><tr><td>
-Dragon
-     </td><td>
-D or +R
-     </td><td>
-18
-     </td><td>
-RF
-     </td><td>
-
-</td></tr><tr><td>
-Horse
-     </td><td>
-H or +B
-     </td><td>
-15.5
-     </td><td>
-BW
-     </td><td>
-
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns move <b>and capture</b> straight ahead.</li>
-<li>It is forbidded to have more than one Pawn in the same file.</li>
-<li>It is forbidden to checkmate the opponent with a Pawn drop.</p>
-</ul>
-<h3>General rules</h3>
-<ul>
-<li>The game is won by capturing the opponent's King.</li>
-<li>Pieces captured change color, and are kept in hand by the side who captured them.
-In stead of a normal move, such pieces can be dropped at any later time.</li>
-<li>Pieces cannot be moved or dropped to a location where all their moves would go off board.</li>
-<li>Pieces promote at the end of a move into, in or out of the promotion zone.</li>
-<li>The promotion zone consists of the last three ranks.</li>
-<li>Pieces obtained by promotion revert to their original form on capture.</li>
-<li>Perpetual checking is forbidden, and would be ruled a loss on the 4-fold repeat.</li>
-</ul>
-<h3>XBoard interface issues</h3>
-<p>
-You can drop pieces by dragging them onto the board from the holdings displayed beside the board.
-</p>
-<p>
-Of course there will always be people that prefer an oriental look, with pentagonal kanji tiles.
-XBoard comes with a set of kanji pieces in the 'themes/shogi' sub-directory of its data directory
-(e.g. /usr/local/share/games/xboard).
-You can select that as -pieceImageDirectory (-pid for short) from the command line, or from the View -> Board dialog.
-You would also have to tick 'Flip black pieces Shogi style' there (or use the option <b>-flipBlack true</b>)
-to make sure the pieces won't go upside down when you flip the view.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-In stead of Queens you have Silver and Gold Generals, and Lances.
-The Knight only has the two forward-most moves of a FIDE Knight.
-Pawns capture straight ahead.
-Captured pieces can later be dropped to augment the army of their capturer.
-There is no castling, Pawn double-push or e.p. capture.
-Other pieces than Pawns also promote.
-The promotion zone is three ranks deep in stead of one.
-</p>
-<h3>Strategy issues</h3>
-<p>
-Because pieces are dropped back, there will not be a traditional end-game.
-Trading material does not constitute progress towards winning, even when you are ahead.
-</p>
-<p>
-Because Gold Generals obtained through promotion revert to their original form on capture,
-they are really different piece types from the primordial Golds that move the same.
-In notation they are therefore not indicated as 'G', but as the ID of the original piece prefixed with a '+'.
-Especially the promoted Pawn (aka Tokin) is more valuable: it is much better to lose a Gold that gives the opponent a Pawn in hand,
-than to lose a Gold that gives him a Gold in hand.
-</p>
-<p>
-Most pieces are quite slow, or not manoeuvrable at all, and their practical value is very dependent on how far they are from the Kings.
-</p>
-<p>
-Pieces in hand are in general worth more than on the board, as they are much more mobile.
-And you can drop them in the promotion for an easy promotion on the next turn.
-But pieces in hand cannot capture anything, and don't guard your promotion zone.
-</p>
-<p>
-</p>
-<p>
-</p>
+      <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></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>15</td>
+
+      <td>R</td>
+
+      <td>Promotes to Dragon</td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>13</td>
+
+      <td>B</td>
+
+      <td>Promotes to Horse</td>
+    </tr>
+
+    <tr>
+      <td>Gold</td>
+
+      <td>G</td>
+
+      <td>9</td>
+
+      <td>WfF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Silver</td>
+
+      <td>S</td>
+
+      <td>8</td>
+
+      <td>FfW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>6</td>
+
+      <td>fN</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Lance</td>
+
+      <td>L</td>
+
+      <td>5</td>
+
+      <td>fN</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>fW</td>
+
+      <td>promotes to Gold</td>
+    </tr>
+
+    <tr>
+      <td colspan="5">Promoted pieces (not initially present)</td>
+    </tr>
+
+    <tr>
+      <td>Dragon</td>
+
+      <td>D or +R</td>
+
+      <td>18</td>
+
+      <td>RF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Horse</td>
+
+      <td>H or +B</td>
+
+      <td>15.5</td>
+
+      <td>BW</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns move <b>and capture</b> straight ahead.</li>
+
+    <li>It is forbidded to have more than one Pawn in the same
+    file.</li>
+
+    <li>It is forbidden to checkmate the opponent with a Pawn
+    drop.</li>
+  </ul>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>The game is won by capturing the opponent's King.</li>
+
+    <li>Pieces captured change color, and are kept in hand by the
+    side who captured them. In stead of a normal move, such pieces
+    can be dropped at any later time.</li>
+
+    <li>Pieces cannot be moved or dropped to a location where all
+    their moves would go off board.</li>
+
+    <li>Pieces promote at the end of a move into, in or out of the
+    promotion zone.</li>
+
+    <li>The promotion zone consists of the last three ranks.</li>
+
+    <li>Pieces obtained by promotion revert to their original form
+    on capture.</li>
+
+    <li>Perpetual checking is forbidden, and would be ruled a loss
+    on the 4-fold repeat.</li>
+  </ul>
+
+  <h3>XBoard interface issues</h3>
+
+  <p>You can drop pieces by dragging them onto the board from the
+  holdings displayed beside the board.</p>
+
+  <p>Of course there will always be people that prefer an oriental
+  look, with pentagonal kanji tiles. XBoard comes with a set of
+  kanji pieces in the 'themes/shogi' sub-directory of its data
+  directory (e.g. /usr/local/share/games/xboard). You can select
+  that as -pieceImageDirectory (-pid for short) from the command
+  line, or from the View -&gt; Board dialog. You would also have to
+  tick 'Flip black pieces Shogi style' there (or use the option
+  <b>-flipBlack true</b>) to make sure the pieces won't go upside
+  down when you flip the view.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>In stead of Queens you have Silver and Gold Generals, and
+  Lances. The Knight only has the two forward-most moves of a FIDE
+  Knight. Pawns capture straight ahead. Captured pieces can later
+  be dropped to augment the army of their capturer. There is no
+  castling, Pawn double-push or e.p. capture. Other pieces than
+  Pawns also promote. The promotion zone is three ranks deep in
+  stead of one.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>Because pieces are dropped back, there will not be a
+  traditional end-game. Trading material does not constitute
+  progress towards winning, even when you are ahead.</p>
+
+  <p>Because Gold Generals obtained through promotion revert to
+  their original form on capture, they are really different piece
+  types from the primordial Golds that move the same. In notation
+  they are therefore not indicated as 'G', but as the ID of the
+  original piece prefixed with a '+'. Especially the promoted Pawn
+  (aka Tokin) is more valuable: it is much better to lose a Gold
+  that gives the opponent a Pawn in hand, than to lose a Gold that
+  gives him a Gold in hand.</p>
+
+  <p>Most pieces are quite slow, or not manoeuvrable at all, and
+  their practical value is very dependent on how far they are from
+  the Kings.</p>
+
+  <p>Pieces in hand are in general worth more than on the board, as
+  they are much more mobile. And you can drop them in the promotion
+  for an easy promotion on the next turn. But pieces in hand cannot
+  capture anything, and don't guard your promotion zone.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 7e8a992..e17d7f7 100644 (file)
-<html>
-<header>
-<title>Spartan Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Spartan Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Spartan.png">
-</td><td>
-<h3>Initial setup</h3>
-<h4>Black (Spartans)</h4>
-<p>
-c8, f8: King
-<br>
-g1: Warlord
-<br>
-b8: General
-<br>
-a8, h8: Lieutenant
-<br>
-d8, e8: Captain
-<br>
-a7-h7: Hoplites
-</p>
-<h4>White (Persians)</h4>
-<p>
-f1: King
-<br>
-e1: Queen
-<br>
-a1, h1: Rook
-<br>
-c1, f1: Bishop
-<br>
-b1, g1: Knight
-<br>
-a2-h2: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Spartan Chess</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>Spartan Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Spartan.png"></td>
 
-<table class="board"><tr><td class="n" id="0x9" onmouseDown="down_click(,)" onmouseUp="up_click(,)">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9">
+        <h4>Black (Spartans)</h4>
 
-     </td><td class="n" id="2x9">
+        <p>c8, f8: King<br>
+        g1: Warlord<br>
+        b8: General<br>
+        a8, h8: Lieutenant<br>
+        d8, e8: Captain<br>
+        a7-h7: Hoplites</p>
 
-     </td><td class="n" id="3x9">
+        <h4>White (Persians)</h4>
 
-     </td><td class="n" id="4x9">
+        <p>f1: King<br>
+        e1: Queen<br>
+        a1, h1: Rook<br>
+        c1, f1: Bishop<br>
+        b1, g1: Knight<br>
+        a2-h2: Pawns</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="5x9">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="6x9">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="7x9">
+  <table class="board">
+    <tr>
+      <td class="n" id="sq0x9" onmousedown="down_click(,)" onmouseup=
+      "up_click(,)"></td>
 
-     </td><td class="n" id="8x9">
+      <td class="n" id="sq1x9"></td>
 
-     </td><td class="n" id="9x9">
+      <td class="n" id="sq2x9"></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="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8" onmouseDown="down_click(2,-8)" onmouseUp="up_click()">
-<img src="sym/BlackLance.png">
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq5x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq8x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq9x9"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="9x8">
+      <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></tr><tr><td class="n" id="0x7">
+    <tr>
+      <td class="n" id="sq0x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq2x8" onmousedown="down_click(2,-8)"
+      onmouseup="up_click()"><img src="sym/BlackLance.png"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="9x7">
+      <td class="n" id="sq9x8"></td>
+    </tr>
 
-     </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">
+    <tr>
+      <td class="n" id="sq0x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="2x6" onmouseDown="down_click(2,-6)" onmouseUp="up_click()">
-<img src="sym/BlackLance.png">
-     </td><td class="n" id="3x6" onmouseDown="down_click(3,6)" onmouseUp="up_click()">
-<img src="sym/BlackElephant.png">
-     </td><td class="n" id="4x6" onmouseDown="down_click(4,6)" onmouseUp="up_click()">
-<img src="sym/BlackMarshall.png">
-     </td><td class="n" id="5x6" onmouseDown="down_click(5,-6)" onmouseUp="up_click()">
-<img src="sym/BlackArchbishop.png">
-     </td><td class="n" id="6x6" onmouseDown="down_click(6,6)" onmouseUp="up_click()">
-<img src="sym/BlackCrownedRook.png">
-     </td><td class="n" id="7x6" onmouseDown="down_click(7,6)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="9x6">
+      <td class="n" id="sq3x7"></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="n" id="sq4x7"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="3x5" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="4x5" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="5x5" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq9x7"></td>
 
-     </td><td class="n" id="6x5" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="8x5">
+    <tr>
+      <td class="n" id="sq0x6"></td>
 
-     </td><td class="n" id="9x5">
+      <td class="n" id="sq1x6"></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="sq2x6" onmousedown="down_click(2,-6)"
+      onmouseup="up_click()"><img src="sym/BlackLance.png"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq3x6" onmousedown="down_click(3,6)"
+      onmouseup="up_click()"><img src="sym/BlackElephant.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq4x6" onmousedown="down_click(4,6)"
+      onmouseup="up_click()"><img src="sym/BlackMarshall.png"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,0)" onmouseUp="up_click()">
+      <td class="n" id="sq5x6" onmousedown="down_click(5,-6)"
+      onmouseup="up_click()"><img src=
+      "sym/BlackArchbishop.png"></td>
 
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,0)" onmouseUp="up_click()">
+      <td class="n" id="sq6x6" onmousedown="down_click(6,6)"
+      onmouseup="up_click()"><img src=
+      "sym/BlackCrownedRook.png"></td>
 
-     </td><td class="n" id="5x4" onmouseDown="down_click(5,0)" onmouseUp="up_click()">
+      <td class="n" id="sq7x6" onmousedown="down_click(7,6)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="6x4" onmouseDown="down_click(6,0)" onmouseUp="up_click()">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq9x6"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="9x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-</td></tr><tr><td class="n" id="0x3">
+    <tr>
+      <td class="n" id="sq0x5"></td>
 
-     </td><td class="n" id="1x3">
+      <td class="n" id="sq1x5"></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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq2x5"></td>
 
-     </td><td class="n" id="9x3">
+      <td class="n" id="sq3x5" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-</td></tr><tr><td class="n" id="0x2">
+      <td class="n" id="sq4x5" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq5x5" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq6x5" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq9x5"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="8x2">
+    <tr>
+      <td class="n" id="sq0x4"></td>
 
-     </td><td class="n" id="9x2">
+      <td class="n" id="sq1x4"></td>
 
-</td></tr><tr><td class="n" id="0x1">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(2,-1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq5x4" onmousedown="down_click(5,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq6x4" onmousedown="down_click(6,0)"
+      onmouseup="up_click()"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="9x1">
+    <tr>
+      <td class="n" id="sq0x3"></td>
 
-</td></tr><tr><td class="n" id="0x0">
+      <td class="n" id="sq1x3"></td>
 
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="n" id="5x0">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-     </td><td class="n" id="6x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="7x0">
+      <td class="n" id="sq8x3"></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 (Persian)
-     </td><td>
-K
-     </td><td>
--
-     </td><td>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr><tr><td>
-King (Spartan)
-     </td><td>
-K
-     </td><td>
-4.5
-     </td><td>
-K
-     </td><td>
-Distributed Royalty: check only when all your Kings are in Check
-</td></tr><tr><td>
-Warlord
-     </td><td>
-W
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-General
-     </td><td>
-G
-     </td><td>
-7
-     </td><td>
-RF
-     </td><td>
-
-</td></tr><tr><td>
-Lieutenant
-     </td><td>
-L
-     </td><td>
-3.5
-     </td><td>
-FAmsW
-     </td><td>
-Color-changing sideway non-capture move
-</td></tr><tr><td>
-Captain
-     </td><td>
-C
-     </td><td>
-3
-     </td><td>
-WD
-     </td><td>
-Has mating potential
-</td></tr><tr><td>
-Hoplite Pawn
-     </td><td>
-H
-     </td><td>
-1
-     </td><td>
-mfFcfW
-     </td><td>
-Promotes to K, W, G, L or C on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (Perians straight move, diagonal capture, Spartans the other way around).</li>
-<li>Pawns can move two squares straight ahead from their initial position, in the direction(s) of their non-capture.</li>
-<li>The double-push of Persian Pawns can be blocked, but Hoplites can jump.</li>
-<li>There is no en-passant capture.</li>
-<li>Pawns/Hoplites promote to another piece of their own side when they reach last rank.</li>
-<li>Hoplites can promote to King, but only when the Spartans have a single King just before the promotion.</li>
-<li>Persian Pawns can not promote to King.</li>
-
-</ul>
-<h3>Castling</h3>
-<p>
-The Persian King, if it has not moved before, can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>It is not allowed to expose <b>all</b> your Kings to capture <b>at the same time</b>.</li>
-<li>The Spartans can leave one of their Kings under attack, and as a consequence, have it captured.</li>
-<li>The game is won by checkmating the opponent's King or King-pair.</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-</ul>
-<h3>Duple check</h3>
-<p>
-The rule that the Spartans cannot leave both Kings attacked would <b>not</b> follow from a rule where you lose when all your Kings are captured.
-Because under that rule the opponent could at most capture one of the two in the next turn,
-and the next turn the other King could move to safety.
-So it is an special rule that leaving them both under attack is illegal, (and only then are you considered to be in check).
-In consequence that when you cannot get out of that check situation, you are (duple) checkmated.
-(It is as if at the begining of every turn you can decide anew which of your Kings is the royal one.)
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The black army is completely different.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop, Knight or Lieutenant (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Although Captains are worth less than orthodox minors B and N, they can force checkmate on a bare King.
-As a result the Spartans can often win when they are a minor ahead, if one of their minors is a Captain
-(e.g. KLCKB is a win, where KBNKB in FIDE is a draw).
-</p>
-<p>
-A pair of Spartan Kings also can force checkmate against a bare King.
-Furthermore, Kings are tough defenders, because they cannot be attacked by the opponent's King.
-So if all the attacker's power is in a single piece, the defending King pair has nothing to fear when they protect each other.
-This makes even KQKK is a draw (provided the Spartan kings can connect).
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-Because Hoplites can choose their path, they become passers very easily.
-This is only of limited value, though, as moving them around an obstructing Persian Pawn usually also gives the latter a free path to promotion.
-Hoplites do stay on the same color when they do not capture.
-A Bishop on the other color is thus powerless to stop their promotion.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></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" onmousedown="down_click(2,-1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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 (Persian)</td>
+
+      <td>K</td>
+
+      <td>-</td>
+
+      <td>K</td>
+
+      <td>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+
+    <tr>
+      <td>King (Spartan)</td>
+
+      <td>K</td>
+
+      <td>4.5</td>
+
+      <td>K</td>
+
+      <td>Distributed Royalty: check only when all your Kings are
+      in Check</td>
+    </tr>
+
+    <tr>
+      <td>Warlord</td>
+
+      <td>W</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>General</td>
+
+      <td>G</td>
+
+      <td>7</td>
+
+      <td>RF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Lieutenant</td>
+
+      <td>L</td>
+
+      <td>3.5</td>
+
+      <td>FAmsW</td>
+
+      <td>Color-changing sideway non-capture move</td>
+    </tr>
+
+    <tr>
+      <td>Captain</td>
+
+      <td>C</td>
+
+      <td>3</td>
+
+      <td>WD</td>
+
+      <td>Has mating potential</td>
+    </tr>
+
+    <tr>
+      <td>Hoplite Pawn</td>
+
+      <td>H</td>
+
+      <td>1</td>
+
+      <td>mfFcfW</td>
+
+      <td>Promotes to K, W, G, L or C on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (Perians
+    straight move, diagonal capture, Spartans the other way
+    around).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, in the direction(s) of their
+    non-capture.</li>
+
+    <li>The double-push of Persian Pawns can be blocked, but
+    Hoplites can jump.</li>
+
+    <li>There is no en-passant capture.</li>
+
+    <li>Pawns/Hoplites promote to another piece of their own side
+    when they reach last rank.</li>
+
+    <li>Hoplites can promote to King, but only when the Spartans
+    have a single King just before the promotion.</li>
+
+    <li>Persian Pawns can not promote to King.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>The Persian King, if it has not moved before, can move two
+  squares in the direction of a Rook that has not moved before, in
+  which case that Rook is moved to the square the King skipped
+  over. This is only allowed if all squares between King and Rook
+  are empty, when the King is not in check on the square it came
+  from, and would not be in check on any of the squares it skipped
+  over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>It is not allowed to expose <b>all</b> your Kings to
+    capture <b>at the same time</b>.</li>
+
+    <li>The Spartans can leave one of their Kings under attack, and
+    as a consequence, have it captured.</li>
+
+    <li>The game is won by checkmating the opponent's King or
+    King-pair.</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+  </ul>
+
+  <h3>Duple check</h3>
+
+  <p>The rule that the Spartans cannot leave both Kings attacked
+  would <b>not</b> follow from a rule where you lose when all your
+  Kings are captured. Because under that rule the opponent could at
+  most capture one of the two in the next turn, and the next turn
+  the other King could move to safety. So it is an special rule
+  that leaving them both under attack is illegal, (and only then
+  are you considered to be in check). In consequence that when you
+  cannot get out of that check situation, you are (duple)
+  checkmated. (It is as if at the begining of every turn you can
+  decide anew which of your Kings is the royal one.)</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The black army is completely different.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop, Knight or Lieutenant (in addition to your own
+  King). Two Knights cannot do that either.</p>
+
+  <p>Although Captains are worth less than orthodox minors B and N,
+  they can force checkmate on a bare King. As a result the Spartans
+  can often win when they are a minor ahead, if one of their minors
+  is a Captain (e.g. KLCKB is a win, where KBNKB in FIDE is a
+  draw).</p>
+
+  <p>A pair of Spartan Kings also can force checkmate against a
+  bare King. Furthermore, Kings are tough defenders, because they
+  cannot be attacked by the opponent's King. So if all the
+  attacker's power is in a single piece, the defending King pair
+  has nothing to fear when they protect each other. This makes even
+  KQKK is a draw (provided the Spartan kings can connect).</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>Because Hoplites can choose their path, they become passers
+  very easily. This is only of limited value, though, as moving
+  them around an obstructing Persian Pawn usually also gives the
+  latter a free path to promotion. Hoplites do stay on the same
+  color when they do not capture. A Bishop on the other color is
+  thus powerless to stop their promotion.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 688a116..4aebe5e 100644 (file)
-<html>
-<header>
-<title>Suicide Chess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Suicide Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="FIDE.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Suicide Chess</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>Suicide Chess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="FIDE.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-6
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-4
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3
-     </td><td>
-B
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-N
-     </td><td>
-
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to K, Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another piece of choice <b>(including King)</b> when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>Capture is mandatory; if ay capture is possible, you cannot play a non-capture.</li>
-<li>The game is won by the side that has no legal moves (usually because he has no pieces left).</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The King is not special in any way, and can be captured like any other piece.
-Hence the concept of 'check' does not exist.
-Pawns can promote to King.
-</p>
-<h3>Strategy issues</h3>
-<p>
-The King is actually a good choice for a promotion piece, as it is not so easy for the opponent to feed a lot of material to a King.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>6</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>4</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3</td>
+
+      <td>B</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td>N</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to K, Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another piece of choice <b>(including
+    King)</b> when they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>Capture is mandatory; if ay capture is possible, you cannot
+    play a non-capture.</li>
+
+    <li>The game is won by the side that has no legal moves
+    (usually because he has no pieces left).</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The King is not special in any way, and can be captured like
+  any other piece. Hence the concept of 'check' does not exist.
+  Pawns can promote to King.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>The King is actually a good choice for a promotion piece, as
+  it is not so easy for the opponent to feed a lot of material to a
+  King.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index cb3b6bb..01a9025 100644 (file)
-<html>
-<header>
-<title>Superchess</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Superchess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Super.png">
-<p><i>Captured and substituted pieces will be displayed beside the board for promotion choice</i></p>
-</td><td>
-<h3>Initial setup</h3>
-<p>The setup is not fixed, but created by randomly picking substitutes for four pieces of the FIDE array from a predetermined set.
-This substitution starts from the FIDE array:</p>
-<p>
-e1, e8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8, f1, f8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-<h3>Substitutes set I (Dutch Open Championship)</h3>
-<p>
-1 Amazon
-<br>
-1 Empress
-<br>
-1 Princess
-<br>
-1 Veteran
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Superchess</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>Superchess</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td>
+        <img src="Super.png">
 
-<table class="board"><tr><td class="h" id="0x9">
+        <p><i>Captured and substituted pieces will be displayed
+        beside the board for promotion choice</i></p>
+      </td>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="3x9">
+        <p>The setup is not fixed, but created by randomly picking
+        substitutes for four pieces of the FIDE array from a
+        predetermined set. This substitution starts from the FIDE
+        array:</p>
 
-     </td><td class="n" id="4x9">
+        <p>e1, e8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8, f1, f8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: Pawns</p>
 
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+        <h3>Substitutes set I (Dutch Open Championship)</h3>
 
-     </td><td class="n" id="7x9">
+        <p>1 Amazon<br>
+        1 Empress<br>
+        1 Princess<br>
+        1 Veteran</p>
+      </td>
+    </tr>
+  </table>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+  <h3>Moves at a Glance</h3>
 
-     </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="h" id="0x8">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="1x8">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="h" id="9x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="2x7">
+      <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="3x7">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="n" id="sq6x8"></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="h" id="0x6">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="3x6">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="5x6" onmouseDown="down_click(-5,6)" onmouseUp="up_click()">
-<img src="sym/WhiteArchbishop.png">
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="6x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq5x6" onmousedown="down_click(-5,6)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteArchbishop.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="3x4" onmouseDown="down_click(3,-4)" onmouseUp="up_click()">
-<img src="sym/WhiteChancellor.png">
-     </td><td class="n" id="4x4" onmouseDown="down_click(4,-4)" onmouseUp="up_click()">
-<img src="sym/WhiteLance.png">
-     </td><td class="n" id="5x4" onmouseDown="down_click(-5,-4)" onmouseUp="up_click()">
-<img src="sym/WhiteMarshall.png">
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq1x5"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="n" id="sq6x5"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="7x2">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-</td></tr><tr><td class="h" id="0x1">
+    <tr>
+      <td class="h" id="sq0x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq2x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq3x4" onmousedown="down_click(3,-4)"
+      onmouseup="up_click()"><img src=
+      "sym/WhiteChancellor.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq4x4" onmousedown="down_click(4,-4)"
+      onmouseup="up_click()"><img src="sym/WhiteLance.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq5x4" onmousedown="down_click(-5,-4)"
+      onmouseup="up_click()"><img src="sym/WhiteMarshall.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq8x4"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x0">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to any other piece that was captured or substituted
-</td></tr><tr><td>
-Amazon
-     </td><td>
-A
-     </td><td>
-12.25
-     </td><td>
-QN
-     </td><td>
-
-</td></tr><tr><td>
-Empress
-     </td><td>
-E
-     </td><td>
-9
-     </td><td>
-RN
-     </td><td>
-
-</td></tr><tr><td>
-Princess
-     </td><td>
-S
-     </td><td>
-8.75
-     </td><td>
-BN
-     </td><td>
-
-</td></tr><tr><td>
-Veteran
-     </td><td>
-V
-     </td><td>
-7.5
-     </td><td>
-KN
-     </td><td>
-
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to a piece chosen from the set of captured or substituted pieces when they reach last rank.
-The chosen piece is then removed from this set.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</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.
-You can use the New Shuffle dialog to control the randomization of the initial position.
-</p>
-<h3>Differences with FIDE</h3>
-<p>
-The start position contains four unorthodox pieces.
-Promotion only to pieces that were captured before (or substituted).
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
+
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
+
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.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/WhiteQueen.png"></td>
+
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
+
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
+
+      <td class="n" id="sq8x3"></td>
+
+      <td class="h" id="sq9x3"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to any other piece that was captured or
+      substituted</td>
+    </tr>
+
+    <tr>
+      <td>Amazon</td>
+
+      <td>A</td>
+
+      <td>12.25</td>
+
+      <td>QN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Empress</td>
+
+      <td>E</td>
+
+      <td>9</td>
+
+      <td>RN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Princess</td>
+
+      <td>S</td>
+
+      <td>8.75</td>
+
+      <td>BN</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Veteran</td>
+
+      <td>V</td>
+
+      <td>7.5</td>
+
+      <td>KN</td>
+
+      <td></td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to a piece chosen from the set of captured or
+    substituted pieces when they reach last rank. The chosen piece
+    is then removed from this set.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <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>
+  </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. You can use the New
+  Shuffle dialog to control the randomization of the initial
+  position.</p>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The start position contains four unorthodox pieces. Promotion
+  only to pieces that were captured before (or substituted).</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 783e081..13ba48b 100644 (file)
-<html>
-<header>
-<title>Two Kings</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Two Kings</h1>
-<table cellpadding="20"><tr><td>
-<img src="TwoKings.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-e1, e8, f1, f8: King
-<br>
-d1, d8: Queen
-<br>
-a1, a8, h1, h8: Rook
-<br>
-c1, c8: Bishop
-<br>
-b1, b8, g1, g8: Knight
-<br>
-a2-h2, a7-h7: Pawns
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Two Kings</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>Two Kings</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <table cellpadding="20">
+    <tr>
+      <td><img src="TwoKings.png"></td>
 
-<table class="board"><tr><td class="h" id="0x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+        <p>e1, e8, f1, f8: King<br>
+        d1, d8: Queen<br>
+        a1, a8, h1, h8: Rook<br>
+        c1, c8: Bishop<br>
+        b1, b8, g1, g8: Knight<br>
+        a2-h2, a7-h7: 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" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="7x9">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+      <td class="n" id="sq2x9"></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="h" id="0x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="1x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="2x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq7x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="8x8">
+      <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="h" id="9x8">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="3x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="n" id="4x7">
+      <td class="n" id="sq5x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="h" id="9x7">
+    <tr>
+      <td class="h" id="sq0x7"></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="h" id="0x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="n" id="4x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="1x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="6x5">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="3x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq1x5"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="n" id="sq3x5"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="n" id="sq4x5"></td>
 
-     </td><td class="n" id="8x4">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq6x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="h" id="9x3">
+      <td class="h" id="sq9x5"></td>
 
-</td></tr><tr><td class="h" 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="h" 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"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="n" id="sq4x4"></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="h" id="9x2">
+      <td class="n" id="sq7x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="8x1">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq8x3"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="h" id="sq9x3"></td>
+    </tr>
 
-     </td><td class="n" id="4x0">
+    <tr>
+      <td class="h" id="sq0x2"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-An e-file King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<h3>General rules</h3>
-<ul>
-<li>The King closest to square a1 is the royal one (horizontal measure prevailing over vertical).</li>
-<li>It is not allowed to expose your <b>royal</b> King to capture ('check').</li>
-<li>The game is won by checkmating the opponent (i.e. being in check, and not being able to get out of it).</li>
-<li>Stalemate (no legal moves, but not in check) is a draw.</li>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-You have a pair of Kings, and only a single Bishop.
-Only one of the Kings is royal, but which one can change during the game, as it depends on their relative location on the board.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-Two Kings can force checkmate on a bare King.
-</p>
-Your non-royal King can be exposed to capture, and thus captured.
-After that, the remaining King will always be royal.
-<p>
-</p>
-Once both sides are down to a single King, this variant degenerate to orthodox Chess.
-<p>
-</p>
-The spare King is a tough defender, because it cannot be attacked by the opponent's royal King.
-So if all the attacker's power is in a single piece, the defending King pair has little to fear when they protect each other.
-This makes even KQKK is a draw (provided the Kings can connect).
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq1x2"></td>
+
+      <td class="n" id="sq2x2"></td>
+
+      <td class="n" id="sq3x2"></td>
+
+      <td class="n" id="sq4x2"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>An e-file King that has not moved before can move two squares
+  in the direction of a Rook that has not moved before, in which
+  case that Rook is moved to the square the King skipped over. This
+  is only allowed if all squares between King and Rook are empty,
+  when the King is not in check on the square it came from, and
+  would not be in check on any of the squares it skipped over.</p>
+
+  <h3>General rules</h3>
+
+  <ul>
+    <li>The King closest to square a1 is the royal one (horizontal
+    measure prevailing over vertical).</li>
+
+    <li>It is not allowed to expose your <b>royal</b> King to
+    capture ('check').</li>
+
+    <li>The game is won by checkmating the opponent (i.e. being in
+    check, and not being able to get out of it).</li>
+
+    <li>Stalemate (no legal moves, but not in check) is a
+    draw.</li>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>You have a pair of Kings, and only a single Bishop. Only one
+  of the Kings is royal, but which one can change during the game,
+  as it depends on their relative location on the board.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either. Two Kings can force checkmate on a
+  bare King.</p>Your non-royal King can be exposed to capture, and
+  thus captured. After that, the remaining King will always be
+  royal. Once both sides are down to a single King, this variant
+  degenerate to orthodox Chess. The spare King is a tough defender,
+  because it cannot be attacked by the opponent's royal King. So if
+  all the attacker's power is in a single piece, the defending King
+  pair has little to fear when they protect each other. This makes
+  even KQKK is a draw (provided the Kings can connect).
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index d530566..e3f86a2 100644 (file)
-<html>
-<header>
-<title>Wild Castle</title>
-<link rel=StyleSheet href="./moves.css" type="text/css">
-<script type="text/javascript" src="spartan.js"></script>
-</header>
-<body>
-<h1>Wild Castle</h1>
-<p>
-This is a shuffle variant of normal Chess, which preserves the possibility to do sort of conventional castling,
-by starting Rooks always in he corner, and the King on the central files.
-When played on an Internet Chess Server, the King can also start on the d-file, and you can castle from there.
-This adds nothing to the game, though, it just produces mirror images of other start positions.
-So in local mode XBoard does not bother to do this.
-</p>
-<table cellpadding="20"><tr><td>
-<img src="Wild.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-There is no fixed setup;
-the back-rank pieces are randomly shuffled with certain restrictions.
-Black's setup is the mirror image of white's, though.
-</p><p>
-e1, e8: King
-<br>
-a1, a8, h1, h8: Rook
-<br>
-a2-j2, a7-j7: Pawns
-</p><p>
-In addition both sides have:
-</p><p>
-1 Queen
-<br>
-2 Bishops
-<br>
-2 Knights
-</p>
-<p>
-The Bishops will start on opposite colors.
-</p>
-</td></tr></table>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Wild Castle</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>Wild Castle</h1>
 
-<p>Click on a piece below to see its moves</p>
+  <p>This is a shuffle variant of normal Chess, which preserves the
+  possibility to do sort of conventional castling, by starting
+  Rooks always in he corner, and the King on the central files.
+  When played on an Internet Chess Server, the King can also start
+  on the d-file, and you can castle from there. This adds nothing
+  to the game, though, it just produces mirror images of other
+  start positions. So in local mode XBoard does not bother to do
+  this.</p>
 
-<table class="board"><tr><td class="h" id="0x9">
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Wild.png"></td>
 
-     </td><td class="n" id="1x9" onmouseDown="down_click(1,-9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="n" id="2x9">
+      <td>
+        <h3>Initial setup</h3>
 
-     </td><td class="n" id="3x9">
+        <p>There is no fixed setup; the back-rank pieces are
+        randomly shuffled with certain restrictions. Black's setup
+        is the mirror image of white's, though.</p>
 
-     </td><td class="n" id="4x9">
+        <p>e1, e8: King<br>
+        a1, a8, h1, h8: Rook<br>
+        a2-j2, a7-j7: Pawns</p>
 
-     </td><td class="n" id="5x9" onmouseDown="down_click(5,9)" onmouseUp="up_click()">
-<img src="sym/BlackKing.png">
-     </td><td class="n" id="6x9">
+        <p>In addition both sides have:</p>
 
-     </td><td class="n" id="7x9">
+        <p>1 Queen<br>
+        2 Bishops<br>
+        2 Knights</p>
 
-     </td><td class="n" id="8x9" onmouseDown="down_click(8,9)" onmouseUp="up_click()">
-<img src="sym/BlackRook.png">
-     </td><td class="h" id="9x9">
+        <p>The Bishops will start on opposite colors.</p>
+      </td>
+    </tr>
+  </table>
 
-     </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="h" id="0x8">
+  <h3>Moves at a Glance</h3>
 
-     </td><td class="n" id="1x8">
+  <p>Click on a piece below to see its moves</p>
 
-     </td><td class="n" id="2x8">
+  <table class="board">
+    <tr>
+      <td class="h" id="sq0x9"></td>
 
-     </td><td class="n" id="3x8">
+      <td class="n" id="sq1x9" onmousedown="down_click(1,-9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="4x8">
+      <td class="n" id="sq2x9"></td>
 
-     </td><td class="n" id="5x8">
+      <td class="n" id="sq3x9"></td>
 
-     </td><td class="n" id="6x8">
+      <td class="n" id="sq4x9"></td>
 
-     </td><td class="n" id="7x8">
+      <td class="n" id="sq5x9" onmousedown="down_click(5,9)"
+      onmouseup="up_click()"><img src="sym/BlackKing.png"></td>
 
-     </td><td class="n" id="8x8">
+      <td class="n" id="sq6x9"></td>
 
-     </td><td class="h" id="9x8">
+      <td class="n" id="sq7x9"></td>
 
-</td></tr><tr><td class="h" id="0x7">
+      <td class="n" id="sq8x9" onmousedown="down_click(8,9)"
+      onmouseup="up_click()"><img src="sym/BlackRook.png"></td>
 
-     </td><td class="n" id="1x7">
+      <td class="h" id="sq9x9"></td>
 
-     </td><td class="n" id="2x7">
+      <td class="h"><img src="sym/yellow.png"></td>
 
-     </td><td class="n" id="3x7">
+      <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="4x7">
+    <tr>
+      <td class="h" id="sq0x8"></td>
 
-     </td><td class="n" id="5x7">
+      <td class="n" id="sq1x8"></td>
 
-     </td><td class="n" id="6x7">
+      <td class="n" id="sq2x8"></td>
 
-     </td><td class="n" id="7x7">
+      <td class="n" id="sq3x8"></td>
 
-     </td><td class="n" id="8x7">
+      <td class="n" id="sq4x8"></td>
 
-     </td><td class="h" id="9x7">
+      <td class="n" id="sq5x8"></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="h" id="0x6">
+      <td class="n" id="sq6x8"></td>
 
-     </td><td class="n" id="1x6">
+      <td class="n" id="sq7x8"></td>
 
-     </td><td class="n" id="2x6">
+      <td class="n" id="sq8x8"></td>
 
-     </td><td class="n" id="3x6">
+      <td class="h" id="sq9x8"></td>
+    </tr>
 
-     </td><td class="n" id="4x6">
+    <tr>
+      <td class="h" id="sq0x7"></td>
 
-     </td><td class="n" id="5x6">
+      <td class="n" id="sq1x7"></td>
 
-     </td><td class="n" id="6x6">
+      <td class="n" id="sq2x7"></td>
 
-     </td><td class="n" id="7x6">
+      <td class="n" id="sq3x7"></td>
 
-     </td><td class="n" id="8x6">
+      <td class="n" id="sq4x7"></td>
 
-     </td><td class="h" id="9x6">
+      <td class="n" id="sq5x7"></td>
 
-     </td><td class="h">
-<img src="sym/green.png">
-     </td><td class="w">
-Non-capture only
-</td></tr><tr><td class="h" id="0x5">
+      <td class="n" id="sq6x7"></td>
 
-     </td><td class="n" id="1x5">
+      <td class="n" id="sq7x7"></td>
 
-     </td><td class="n" id="2x5">
+      <td class="n" id="sq8x7"></td>
 
-     </td><td class="n" id="3x5">
+      <td class="h" id="sq9x7"></td>
 
-     </td><td class="n" id="4x5">
+      <td class="h"><img src="sym/orange.png"></td>
 
-     </td><td class="n" id="5x5">
+      <td class="w">Unblockable leap (capture or non-capture)</td>
+    </tr>
 
-     </td><td class="n" id="6x5">
+    <tr>
+      <td class="h" id="sq0x6"></td>
 
-     </td><td class="n" id="7x5">
+      <td class="n" id="sq1x6"></td>
 
-     </td><td class="n" id="8x5">
+      <td class="n" id="sq2x6"></td>
 
-     </td><td class="h" id="9x5">
+      <td class="n" id="sq3x6"></td>
 
-     </td><td class="h">
-<img src="sym/red.png">
-     </td><td class="w">
-Capture only
-</td></tr><tr><td class="h" id="0x4">
+      <td class="n" id="sq4x6"></td>
 
-     </td><td class="n" id="1x4">
+      <td class="n" id="sq5x6"></td>
 
-     </td><td class="n" id="2x4">
+      <td class="n" id="sq6x6"></td>
 
-     </td><td class="n" id="3x4">
+      <td class="n" id="sq7x6"></td>
 
-     </td><td class="n" id="4x4">
+      <td class="n" id="sq8x6"></td>
 
-     </td><td class="n" id="5x4">
+      <td class="h" id="sq9x6"></td>
 
-     </td><td class="n" id="6x4">
+      <td class="h"><img src="sym/green.png"></td>
 
-     </td><td class="n" id="7x4">
+      <td class="w">Non-capture only</td>
+    </tr>
 
-     </td><td class="n" id="8x4">
+    <tr>
+      <td class="h" id="sq0x5"></td>
 
-     </td><td class="h" id="9x4">
+      <td class="n" id="sq1x5"></td>
 
-</td></tr><tr><td class="h" id="0x3">
+      <td class="n" id="sq2x5"></td>
 
-     </td><td class="n" id="1x3" onmouseDown="down_click(1,3)" onmouseUp="up_click()">
-<img src="sym/BlackPawn.png">
-     </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" 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" onmouseDown="down_click(5,3)" onmouseUp="up_click()">
-<img src="sym/WhiteQueen.png">
-     </td><td class="n" id="6x3" onmouseDown="down_click(6,3)" onmouseUp="up_click()">
-<img src="sym/WhiteBishop.png">
-     </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="sq3x5"></td>
 
-     </td><td class="h" id="9x3">
+      <td class="n" id="sq4x5"></td>
 
-</td></tr><tr><td class="h" id="0x2">
+      <td class="n" id="sq5x5"></td>
 
-     </td><td class="n" id="1x2">
+      <td class="n" id="sq6x5"></td>
 
-     </td><td class="n" id="2x2">
+      <td class="n" id="sq7x5"></td>
 
-     </td><td class="n" id="3x2">
+      <td class="n" id="sq8x5"></td>
 
-     </td><td class="n" id="4x2">
+      <td class="h" id="sq9x5"></td>
 
-     </td><td class="n" id="5x2">
+      <td class="h"><img src="sym/red.png"></td>
 
-     </td><td class="n" id="6x2">
+      <td class="w">Capture only</td>
+    </tr>
 
-     </td><td class="n" id="7x2">
+    <tr>
+      <td class="h" id="sq0x4"></td>
 
-     </td><td class="n" id="8x2">
+      <td class="n" id="sq1x4"></td>
 
-     </td><td class="h" id="9x2">
+      <td class="n" id="sq2x4"></td>
 
-</td></tr><tr><td class="h" id="0x1">
+      <td class="n" id="sq3x4"></td>
 
-     </td><td class="n" id="1x1">
+      <td class="n" id="sq4x4"></td>
 
-     </td><td class="n" id="2x1" onmouseDown="down_click(-2,1)" onmouseUp="up_click()">
-<img src="sym/WhitePawn.png">
-     </td><td class="n" id="3x1">
+      <td class="n" id="sq5x4"></td>
 
-     </td><td class="n" id="4x1">
+      <td class="n" id="sq6x4"></td>
 
-     </td><td class="n" id="5x1">
+      <td class="n" id="sq7x4"></td>
 
-     </td><td class="n" id="6x1">
+      <td class="n" id="sq8x4"></td>
 
-     </td><td class="n" id="7x1">
+      <td class="h" id="sq9x4"></td>
+    </tr>
 
-     </td><td class="n" id="8x1">
+    <tr>
+      <td class="h" id="sq0x3"></td>
 
-     </td><td class="h" id="9x1">
+      <td class="n" id="sq1x3" onmousedown="down_click(1,3)"
+      onmouseup="up_click()"><img src="sym/BlackPawn.png"></td>
 
-</td></tr><tr><td class="h" id="0x0">
-     </td><td class="n" id="1x0">
+      <td class="n" id="sq2x3" onmousedown="down_click(2,3)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></td>
 
-     </td><td class="n" id="2x0">
+      <td class="n" id="sq3x3" onmousedown="down_click(3,3)"
+      onmouseup="up_click()"><img src="sym/WhiteRook.png"></td>
 
-     </td><td class="n" id="3x0">
+      <td class="n" id="sq4x3" onmousedown="down_click(4,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKnight.png"></td>
 
-     </td><td class="n" id="4x0">
+      <td class="n" id="sq5x3" onmousedown="down_click(5,3)"
+      onmouseup="up_click()"><img src="sym/WhiteQueen.png"></td>
 
-     </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="h" 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>
-K
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-RB or Q
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-R
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.25
-     </td><td>
-B
-     </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>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares straight ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed if all squares between King and Rook are empty,
-when the King is not in check on the square it came from,
-and would not be in check on any of the squares it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-The Queen, Bishops and Knights are randomly shuffled on the back rank in the opening setup.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-Two Knights cannot do that either.
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+      <td class="n" id="sq6x3" onmousedown="down_click(6,3)"
+      onmouseup="up_click()"><img src="sym/WhiteBishop.png"></td>
+
+      <td class="n" id="sq7x3" onmousedown="down_click(7,3)"
+      onmouseup="up_click()"><img src="sym/WhiteKing.png"></td>
+
+      <td class="n" id="sq8x3"></td>
+
+      <td class="h" id="sq9x3"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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"></td>
+
+      <td class="n" id="sq5x2"></td>
+
+      <td class="n" id="sq6x2"></td>
+
+      <td class="n" id="sq7x2"></td>
+
+      <td class="n" id="sq8x2"></td>
+
+      <td class="h" id="sq9x2"></td>
+    </tr>
+
+    <tr>
+      <td class="h" id="sq0x1"></td>
+
+      <td class="n" id="sq1x1"></td>
+
+      <td class="n" id="sq2x1" onmousedown="down_click(-2,1)"
+      onmouseup="up_click()"><img src="sym/WhitePawn.png"></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="h" id="sq9x1"></td>
+    </tr>
+
+    <tr>
+      <td class="h" 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="h" 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>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>RB or Q</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>R</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.25</td>
+
+      <td>B</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>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares straight ahead from their
+    initial position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed if all squares between King and Rook are empty, when the
+  King is not in check on the square it came from, and would not be
+  in check on any of the squares it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>The Queen, Bishops and Knights are randomly shuffled on the
+  back rank in the opening setup.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King). Two
+  Knights cannot do that either.</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </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>
index cddde07..fee3dff 100644 (file)
@@ -9,7 +9,7 @@ var size = 10;
 var bw = 0;
 
 function set(x, y, n) {
-  sq = x + 'x' + y;
+  sq = 'sq' + x + 'x' + y;
   if(n > 0) {
     board[x][y] = document.getElementById(sq).innerHTML;
     if(n == 2)
@@ -278,7 +278,7 @@ function down_click(x, y) {
       initDone = 1;
       board = new Array();
       for(i=0; i<12; i = i + 1) board[i] = new Array();
-      if(document.getElementById('0x0').innerHTML[1] == ' ') bw = 1;
+      if(document.getElementById('sq0x0').innerHTML[1] == ' ') bw = 1;
    }
    if(down) return;
    if(y < 0) {
@@ -296,7 +296,7 @@ function down_click(x, y) {
 function up_click() {
    highlight(savx, savy, msg, 0);
    down = 0;
-//   document.getElementById(x + 'x' + y).innerHTML = save;
+//   document.getElementById('sq' + x + 'x' + y).innerHTML = save;
 }
 
 
index 830d651..7deb902 100644 (file)
@@ -9,7 +9,7 @@ var size = 10;
 var bw = 0;
 
 function set(x, y, n) {
-  sq = x + 'x' + y;
+  sq = 'sq' + x + 'x' + y;
   if(n > 0) {
     board[x][y] = document.getElementById(sq).innerHTML;
     if(n == 2)
@@ -259,7 +259,7 @@ function down_click(x, y) {
       initDone = 1;
       board = new Array();
       for(i=0; i<12; i = i + 1) board[i] = new Array();
-      if(document.getElementById('0x0').innerHTML[1] == ' ') bw = 1;
+      if(document.getElementById('sq0x0').innerHTML[1] == ' ') bw = 1;
    }
    if(down) return;
    if(y < 0) {
@@ -277,7 +277,7 @@ function down_click(x, y) {
 function up_click() {
    highlight(savx, savy, msg, 0);
    down = 0;
-//   document.getElementById(x + 'x' + y).innerHTML = save;
+//   document.getElementById('sq' + x + 'x' + y).innerHTML = save;
 }
 
 
index ebe1e72..38c56b8 100644 (file)
-<html>
-<header>
-<title>Variants supported by XBoard</title>
-</header>
-<body>
-<img src="../winboardF.jpg">
-<h1>Chess variants supported by XBoard</h1>
-<p>
-Next to orthodox Chess (aka FIDE or Mad Queen), XBoard supports many other Chess variants.
-This includes the World's major forms of Chess: Chinese, FIDE, Japanese, and Thai Chess.
-But also many popular western variants (Suicide Chess, Crazyhouse, Chess960, Gothic/Capablanca Chess, Seirawan Chess).
-</p>
-<p>
-Full support by XBoard means that the latter is fully aware of how all pieces move, and what the winning condition is.
-This means the variant can be played with the option Test Legality switched on,
-and that it can accurately check any result claims that engines make.
-Non-supported variants can often be played with legality checking switched off.
-Then any of the 22 piece types known by XBoard can be used in ways XBoard does not expect.
-The only real drawback of this is that the game notation looks a bit crummy,
-with many spurious or missing disambiguators, check and checkmate symbols.
-XBoard will always be able to read suh games back, however (as on reading it suffers from the same misconceptions on piece movement).
-This can be kept baerable by choosing XBoard supported pieces to represent the unsupported ones that
-move as similar as possible.
-</p>
-<p>
-Some variants are only partially supported.
-This means they have to be played with legality checking off,
-although XBoard knows they exist, and even implements some of their rules that no other variant would allow.
-For instance, in Berolina Chess Pawns move diagonally, and in any other variant this would lead to disappearence
-of other Pawns during the game, as normally XBoard interprets a diagonal Pawn move to an empty square as e.p. capture.
-</p>
-<p>
-The following list tries to group all variants by properties.
-Some duplicates occur when a variant fits in more than one group.
-</p>
-<h3>List of supported variants</h3>
-<table><tr><td bgcolor="FFFF80">
-
-</td><td>
-= recommended
-</td></tr><tr><td>
-<a href="Chess.html">FIDE Chess</a></td><td>The modern international game, second in popularity only to Xiangqi
-</td></tr><tr><td colspan="2">
-<b>Shuffle games with normal pieces</b>
-</td></tr><tr><td>
-<a href="Wild.html">Wild Castle</a></td><td>Shuffles the initial FIDE setup, leaving King and Rooks in place
-</td></tr><tr><td>
-<a href="No.html">No Castle</a></td><td>More aggressive shuffling of the initial FIDE setup, without castling
-</td></tr><tr><td>
-<a href="FRC.html">Chess960</a></td><td>A Shuffle variant where even Kings and Rooks in non-standard location can castle
-</td></tr><tr><td colspan="2">
-<b>Variants with piece drops</b>
-</td></tr><tr><td>
-<a href="Crazy.html">Crazyhouse</a></td><td>Pieces you capture are added to your army, by dropping them back onto the board
-</td></tr><tr><td>
-Bughouse</td><td>four-player game that XBoard can only play with the aid of an Internet Chess Server
-</td></tr><tr><td>
-<a href="Shogi.html">Shogi</a></td><td>Japanese Chess, where pieces you captured can be dropped to strengthen your own army
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Mini.html">mini-Shogi</a></td><td>Highly simplified and very tactical mini version of Shogi (on 5x5 board)
-</td></tr><tr><td colspan="2">
-<b>Unusual winning conditions</b>
-</td></tr><tr><td>
-<a href="Suicide.html">Suicide Chess</a></td><td>Win by getting rid of all your material by mandatory capture
-</td></tr><tr><td>
-<a href="Giveaway.html">Give-Away Chess</a></td><td>Win by getting rid of all your material by mandatory capture
-</td></tr><tr><td>
-<a href="Losers.html">Losers Chess</a></td><td>Win by being left with a bare King
-</td></tr><tr><td>
-<a href="3checks.html">3-checks</a></td><td>Lose by being checked 3 times
-</td></tr><tr><td colspan="2">
-<b>Variants with various intrusive rules</b>
-</td></tr><tr><td>
-<a href="Atomic.html">Atomic Chess</a></td><td>Pieces that capture explode, destroying anything in the vicinity
-</td></tr><tr><td>
-<a href="Cylinder.html">Cylinder Chess</a></td><td>The a-file and h-file connect to make the board a cylinder
-</td></tr><tr><td>
-<a href="TwoKings.html">TwoKings</a></td><td>Play with two Kings, changing which one is royal during the game
-</td></tr><tr><td colspan="2">
-<b>Variants where just a few pieces move in unorthodox ways</b>
-</td></tr><tr><td>
-<a href="Shatranj.html">Shatranj</a></td><td>Ancient Arabic/Persian Chess, with primitive Queen and Bishops
-</td></tr><tr><td>
-<a href="Berolina.html">Berolina Chess</a></td><td>Pawns capture straight ahead, and move diagonally
-</td></tr><tr><td>
-<a href="ASEAN.html">ASEAN</a></td><td>South-East Asian Chess, a modernized version of Makruk
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Knightmate.html">Knightmate</a></td><td>Try to checkmate a single Royal Knight with (amongst others) two non-royal Kings
-</td></tr><tr><td>
-<a href="Falcon.html">Falcon Chess</a></td><td>Two (Rook-class) Falcon pieces augment FIDE on a 10-wide board
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Lion.html">Mighty-Lion Chess</a></td><td>All-powerful Lions can capture other pieces en-passant, or two pieces at once
-</td></tr><tr><td colspan="2">
-<b>Variants with extra Rook-Knight and Bishop-Knight compound pieces</b>
-</td></tr><tr><td>
-<a href="Seirawan.html">Seirawan Chess</a></td><td>Two extra super-pieces can be 'gated' onto the board during the opening
-</td></tr><tr><td>
-<a href="Capablanca.html">Capablanca Chess</a></td><td>Two super-pieces are added to FIDE on a 10-wide board
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Gothic.html">Gothic Chess</a></td><td>Two super-pieces are added to FIDE on a 10-wide board, with stream-lined initial setup
-</td></tr><tr><td>
-<a href="Janus.html">Janus Chess</a></td><td>Two Janus super-pieces (B-N compounds) are added to FIDE on a 10-wide board
-</td></tr><tr><td>
-<a href="CRC.html">Capablanca Random Chess</a></td><td>Capablanca Chess with shuffled initial setup, with generalized castling rules
-</td></tr><tr><td>
-<a href="Grand.html">Grand Chess</a></td><td>Chess on a 10x10 board with two extra super-pieces
-</td></tr><tr><td colspan="2">
-<b>Oriental forms of Chess</b>
-</td></tr><tr><td>
-<a href="Xiangqi.html">Xiangqi</a></td><td>Chinese Chess, where the King is confined to a Palace
-</td></tr><tr><td>
-<a href="Shogi.html">Shogi</a></td><td>Japanese Chess, where pieces you captured can be dropped to strengthen your own army
-</td></tr><tr><td>
-<a href="Sho.html">Sho Shogi</a></td><td>Ancient precurser of the modern Japanese 9x9 Shogi game (without drops)
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Chu.html">Chu Shogi</a></td><td>Ancient Japanese Chess with many pieces on a 12x12 board, and a Lion super-piece
-</td></tr><tr><td>
-<a href="Makruk.html">Makruk</a></td><td>Thai Chess, with an interesting Elephant piece
-</td></tr><tr><td>
-<a href="ASEAN.html">ASEAN</a></td><td>South-East Asian Chess, a modernized version of Makruk
-</td></tr><tr><td colspan="2">
-<b>Variants with mostly un-orthodox pieces</b>
-</td></tr><tr><td>
-<a href="Courier.html">Courier Chess</a></td><td>Mediaval precursor of Chess, combining Shatranj with modern pieces on a wide board
-</td></tr><tr><td>
-<a href="Super.html">Superchess</a></td><td>Randomly picked unorthodox pieces of many kinds replace some of your FIDE pieces
-</td></tr><tr><td>
-<a href="Great.html">Great Shatranj</a></td><td>Version of Capablanca Chess that replaces all sliding moves by 2-square jumps
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Spartan.html">Spartan Chess</a></td><td>Two different armies (Persians and Spartans, the latter lead by two Kings) battle each other
-</td></tr><tr><td>
-<a href="CWDA.html">Chess with Different Armies</a></td><td>Pick one of a set of (mostly) unsual armies to battle a completely different army
-</td></tr><tr><td bgcolor="FFFF80">
-<a href="Chu.html">Chu Shogi</a></td><td>Ancient Japanese Chess with many pieces on a 12x12 board, and a Lion super-piece
-</td></tr><tr><td>
-<a href="ChuChess.html">Chu Chess</a></td><td>Intermediate between Chess and Chu shogi, on a 10x10 board
-</td></tr><tr><td>
-<a href="">Cambodian Chess</a></td><td>
-</td></tr><tr><td>
-<a href="">Ai-Wok Makruk</a></td><td>
-</td></tr></table>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<iframe src="http://hgm.nubati.net/cgi-bin/count.cgi?P=12" width="130" height="40"></iframe>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Variants supported by XBoard</title>
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
+  <h1>Chess variants supported by XBoard</h1>
 
+  <p>Next to orthodox Chess (aka FIDE or Mad Queen), XBoard
+  supports many other Chess variants. This includes the World's
+  major forms of Chess: Chinese, FIDE, Japanese, and Thai Chess.
+  But also many popular western variants (Suicide Chess,
+  Crazyhouse, Chess960, Gothic/Capablanca Chess, Seirawan
+  Chess).</p>
+
+  <p>Full support by XBoard means that the latter is fully aware of
+  how all pieces move, and what the winning condition is. This
+  means the variant can be played with the option Test Legality
+  switched on, and that it can accurately check any result claims
+  that engines make. Non-supported variants can often be played
+  with legality checking switched off. Then any of the 22 piece
+  types known by XBoard can be used in ways XBoard does not expect.
+  The only real drawback of this is that the game notation looks a
+  bit crummy, with many spurious or missing disambiguators, check
+  and checkmate symbols. XBoard will always be able to read suh
+  games back, however (as on reading it suffers from the same
+  misconceptions on piece movement). This can be kept baerable by
+  choosing XBoard supported pieces to represent the unsupported
+  ones that move as similar as possible.</p>
+
+  <p>Some variants are only partially supported. This means they
+  have to be played with legality checking off, although XBoard
+  knows they exist, and even implements some of their rules that no
+  other variant would allow. For instance, in Berolina Chess Pawns
+  move diagonally, and in any other variant this would lead to
+  disappearence of other Pawns during the game, as normally XBoard
+  interprets a diagonal Pawn move to an empty square as e.p.
+  capture.</p>
+
+  <p>The following list tries to group all variants by properties.
+  Some duplicates occur when a variant fits in more than one
+  group.</p>
+
+  <h3>List of supported variants</h3>
+
+  <table>
+    <tr>
+      <td bgcolor="#FFFF80"></td>
+
+      <td>= recommended</td>
+    </tr>
+
+    <tr>
+      <td><a href="Chess.html">FIDE Chess</a></td>
+
+      <td>The modern international game, second in popularity only
+      to Xiangqi</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Shuffle games with normal pieces</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Wild.html">Wild Castle</a></td>
+
+      <td>Shuffles the initial FIDE setup, leaving King and Rooks
+      in place</td>
+    </tr>
+
+    <tr>
+      <td><a href="No.html">No Castle</a></td>
+
+      <td>More aggressive shuffling of the initial FIDE setup,
+      without castling</td>
+    </tr>
+
+    <tr>
+      <td><a href="FRC.html">Chess960</a></td>
+
+      <td>A Shuffle variant where even Kings and Rooks in
+      non-standard location can castle</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Variants with piece drops</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Crazy.html">Crazyhouse</a></td>
+
+      <td>Pieces you capture are added to your army, by dropping
+      them back onto the board</td>
+    </tr>
+
+    <tr>
+      <td>Bughouse</td>
+
+      <td>four-player game that XBoard can only play with the aid
+      of an Internet Chess Server</td>
+    </tr>
+
+    <tr>
+      <td><a href="Shogi.html">Shogi</a></td>
+
+      <td>Japanese Chess, where pieces you captured can be dropped
+      to strengthen your own army</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href="Mini.html">mini-Shogi</a></td>
+
+      <td>Highly simplified and very tactical mini version of Shogi
+      (on 5x5 board)</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Unusual winning conditions</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Suicide.html">Suicide Chess</a></td>
+
+      <td>Win by getting rid of all your material by mandatory
+      capture</td>
+    </tr>
+
+    <tr>
+      <td><a href="Giveaway.html">Give-Away Chess</a></td>
+
+      <td>Win by getting rid of all your material by mandatory
+      capture</td>
+    </tr>
+
+    <tr>
+      <td><a href="Losers.html">Losers Chess</a></td>
+
+      <td>Win by being left with a bare King</td>
+    </tr>
+
+    <tr>
+      <td><a href="3checks.html">3-checks</a></td>
+
+      <td>Lose by being checked 3 times</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Variants with various intrusive
+      rules</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Atomic.html">Atomic Chess</a></td>
+
+      <td>Pieces that capture explode, destroying anything in the
+      vicinity</td>
+    </tr>
+
+    <tr>
+      <td><a href="Cylinder.html">Cylinder Chess</a></td>
+
+      <td>The a-file and h-file connect to make the board a
+      cylinder</td>
+    </tr>
+
+    <tr>
+      <td><a href="TwoKings.html">TwoKings</a></td>
+
+      <td>Play with two Kings, changing which one is royal during
+      the game</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Variants where just a few pieces move in
+      unorthodox ways</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Shatranj.html">Shatranj</a></td>
+
+      <td>Ancient Arabic/Persian Chess, with primitive Queen and
+      Bishops</td>
+    </tr>
+
+    <tr>
+      <td><a href="Berolina.html">Berolina Chess</a></td>
+
+      <td>Pawns capture straight ahead, and move diagonally</td>
+    </tr>
+
+    <tr>
+      <td><a href="ASEAN.html">ASEAN</a></td>
+
+      <td>South-East Asian Chess, a modernized version of
+      Makruk</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href=
+      "Knightmate.html">Knightmate</a></td>
+
+      <td>Try to checkmate a single Royal Knight with (amongst
+      others) two non-royal Kings</td>
+    </tr>
+
+    <tr>
+      <td><a href="Falcon.html">Falcon Chess</a></td>
+
+      <td>Two (Rook-class) Falcon pieces augment FIDE on a 10-wide
+      board</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href="Lion.html">Mighty-Lion
+      Chess</a></td>
+
+      <td>All-powerful Lions can capture other pieces en-passant,
+      or two pieces at once</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Variants with extra Rook-Knight and
+      Bishop-Knight compound pieces</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Seirawan.html">Seirawan Chess</a></td>
+
+      <td>Two extra super-pieces can be 'gated' onto the board
+      during the opening</td>
+    </tr>
+
+    <tr>
+      <td><a href="Capablanca.html">Capablanca Chess</a></td>
+
+      <td>Two super-pieces are added to FIDE on a 10-wide
+      board</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href="Gothic.html">Gothic
+      Chess</a></td>
+
+      <td>Two super-pieces are added to FIDE on a 10-wide board,
+      with stream-lined initial setup</td>
+    </tr>
+
+    <tr>
+      <td><a href="Janus.html">Janus Chess</a></td>
+
+      <td>Two Janus super-pieces (B-N compounds) are added to FIDE
+      on a 10-wide board</td>
+    </tr>
+
+    <tr>
+      <td><a href="CRC.html">Capablanca Random Chess</a></td>
+
+      <td>Capablanca Chess with shuffled initial setup, with
+      generalized castling rules</td>
+    </tr>
+
+    <tr>
+      <td><a href="Grand.html">Grand Chess</a></td>
+
+      <td>Chess on a 10x10 board with two extra super-pieces</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Oriental forms of Chess</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Xiangqi.html">Xiangqi</a></td>
+
+      <td>Chinese Chess, where the King is confined to a
+      Palace</td>
+    </tr>
+
+    <tr>
+      <td><a href="Shogi.html">Shogi</a></td>
+
+      <td>Japanese Chess, where pieces you captured can be dropped
+      to strengthen your own army</td>
+    </tr>
+
+    <tr>
+      <td><a href="Sho.html">Sho Shogi</a></td>
+
+      <td>Ancient precurser of the modern Japanese 9x9 Shogi game
+      (without drops)</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href="Chu.html">Chu Shogi</a></td>
+
+      <td>Ancient Japanese Chess with many pieces on a 12x12 board,
+      and a Lion super-piece</td>
+    </tr>
+
+    <tr>
+      <td><a href="Makruk.html">Makruk</a></td>
+
+      <td>Thai Chess, with an interesting Elephant piece</td>
+    </tr>
+
+    <tr>
+      <td><a href="ASEAN.html">ASEAN</a></td>
+
+      <td>South-East Asian Chess, a modernized version of
+      Makruk</td>
+    </tr>
+
+    <tr>
+      <td colspan="2"><b>Variants with mostly un-orthodox
+      pieces</b></td>
+    </tr>
+
+    <tr>
+      <td><a href="Courier.html">Courier Chess</a></td>
+
+      <td>Mediaval precursor of Chess, combining Shatranj with
+      modern pieces on a wide board</td>
+    </tr>
+
+    <tr>
+      <td><a href="Super.html">Superchess</a></td>
+
+      <td>Randomly picked unorthodox pieces of many kinds replace
+      some of your FIDE pieces</td>
+    </tr>
+
+    <tr>
+      <td><a href="Great.html">Great Shatranj</a></td>
+
+      <td>Version of Capablanca Chess that replaces all sliding
+      moves by 2-square jumps</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href="Spartan.html">Spartan
+      Chess</a></td>
+
+      <td>Two different armies (Persians and Spartans, the latter
+      lead by two Kings) battle each other</td>
+    </tr>
+
+    <tr>
+      <td><a href="CWDA.html">Chess with Different Armies</a></td>
+
+      <td>Pick one of a set of (mostly) unsual armies to battle a
+      completely different army</td>
+    </tr>
+
+    <tr>
+      <td bgcolor="#FFFF80"><a href="Chu.html">Chu Shogi</a></td>
+
+      <td>Ancient Japanese Chess with many pieces on a 12x12 board,
+      and a Lion super-piece</td>
+    </tr>
+
+    <tr>
+      <td><a href="ChuChess.html">Chu Chess</a></td>
+
+      <td>Intermediate between Chess and Chu shogi, on a 10x10
+      board</td>
+    </tr>
+
+    <tr>
+      <td><a href="">Cambodian Chess</a></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><a href="">Ai-Wok Makruk</a></td>
+
+      <td></td>
+    </tr>
+  </table>
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>
index 6210622..075bacb 100644 (file)
@@ -7,7 +7,7 @@ var down = 0;
 var size = 10;
 
 function set(x, y, n) {
-  sq = x + 'x' + y;
+  sq = 'sq' + x + 'x' + y;
   if(n > 0) {
     board[x][y] = document.getElementById(sq).innerHTML;
     if(n == 1)
@@ -230,8 +230,8 @@ function down_click(x, y) {
    if(down) return;
    highlight(x, y, 1);
    savx = x; savy = y; down = 1;
-//   sq = x + 'x' + y;
-//   sq = '7x5';
+//   sq = 'sq' + x + 'x' + y;
+//   sq = 'sq7x5';
 //   save = document.getElementById(sq).innerHTML;
 //   document.getElementById(sq).innerHTML = '<img src="sym/yellow.png">';
 }
@@ -239,7 +239,7 @@ function down_click(x, y) {
 function up_click() {
    highlight(savx, savy, 0);
    down = 0;
-//   document.getElementById(x + 'x' + y).innerHTML = save;
+//   document.getElementById('sq' + x + 'x' + y).innerHTML = save;
 }
 
 
index 48f33b7..c572aa7 100644 (file)
@@ -1,6 +1,7 @@
 table.board {\r
  border-collapse: collapse;\r
  overflow: hide;\r
+ margin-left: 36px;\r
 }\r
 table.board td {\r
   width: 36px; height: 36px; vertical-align: center;\r
@@ -21,13 +22,14 @@ table.board td img {
 }\r
 table.board td.w {\r
  background: #FFFFFF; color: black; height: 36px; width: 360px;\r
+ padding-left: 36px;\r
  text-align: left;\r
 }\r
 table.board td.b {\r
  background: #FFFFFF; color: white; height: 72px; width: 36px;\r
 }\r
 table.board td.h {\r
- background: #FFFFFF; color: black; height: 36px; width: 36px;\r
+ display: none;\r
 }\r
 table.board td.n {\r
  background: #C0C0C0; color: black; height: 36px; width: 36px;\r
index 62e4887..046e9eb 100644 (file)
@@ -9,7 +9,7 @@ var size = 10;
 var bw = 0;
 
 function set(x, y, n) {
-  sq = x + 'x' + y;
+  sq = 'sq' + x + 'x' + y;
   if(n > 0) {
     board[x][y] = document.getElementById(sq).innerHTML;
     if(n == 2)
@@ -299,7 +299,7 @@ function down_click(x, y) {
       initDone = 1;
       board = new Array();
       for(i=0; i<12; i = i + 1) board[i] = new Array();
-      if(document.getElementById('0x0').innerHTML[1] == ' ') bw = 1;
+      if(document.getElementById('sq0x0').innerHTML[1] == ' ') bw = 1;
    }
    if(down) return;
    if(y < 0) {
@@ -317,7 +317,7 @@ function down_click(x, y) {
 function up_click() {
    highlight(savx, savy, msg, 0);
    down = 0;
-//   document.getElementById(x + 'x' + y).innerHTML = save;
+//   document.getElementById('sq' + x + 'x' + y).innerHTML = save;
 }
 
 
index a143d4c..f8a0af6 100644 (file)
-<html>
-<header>
-<title>Gothic Chess</title>
-</header>
-<body>
-<h1>Gothic Chess</h1>
-<table cellpadding="20"><tr><td>
-<img src="Gothic.png">
-</td><td>
-<h3>Initial setup</h3>
-<p>
-f1, f8: King
-<br>
-d1, d8: Queen
-<br>
-e1, e8: Chancellor
-<br>
-g1, g8: Archbishop
-<br>
-a1, a8, j1, j8: Rook
-<br>
-c1, c8, h1, h8: Bishop
-<br>
-b1, b8, i1, i8: Knight
-<br>
-a2-j2, a8-j8: Pawns
-</p>
-</td></tr></table>
-<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>
-WF
-     </td><td>
-Can castle with Rook, moving 2 steps towards it
-</td></tr><tr><td>
-Queen
-     </td><td>
-Q
-     </td><td>
-9.5
-     </td><td>
-WWFF
-     </td><td>
-
-</td></tr><tr><td>
-Chancellor
-     </td><td>
-C
-     </td><td>
-9
-     </td><td>
-WWFF
-     </td><td>
-
-</td></tr><tr><td>
-ArchBishop
-     </td><td>
-A
-     </td><td>
-8.75
-     </td><td>
-WWFF
-     </td><td>
-
-</td></tr><tr><td>
-Rook
-     </td><td>
-R
-     </td><td>
-5
-     </td><td>
-WW
-     </td><td>
-
-</td></tr><tr><td>
-Bishop
-     </td><td>
-B
-     </td><td>
-3.5
-     </td><td>
-FF
-     </td><td>
-Color-bound
-</td></tr><tr><td>
-Knight
-     </td><td>
-N
-     </td><td>
-3
-     </td><td>
-
-     </td><td>
-N
-</td></tr><tr><td>
-Pawn
-     </td><td>
-P
-     </td><td>
-1
-     </td><td>
-mfWcfF
-     </td><td>
-Promotes to Q, R, B, or N on reaching last rank
-</td></tr></table>
-<h3>Pawn peculiarities</h3>
-<ul>
-<li>Pawns capture differently from how they move (straight move, diagonal capture).</li>
-<li>Pawns can move two squares ahead from their initial position, provided they are not blocked.</li>
-<li>On the move immediately after such a double push, they can be captured en passant by another Pawn,
-as if they had only moved 1 square ahead.</li>
-<li>Pawns promote to another (non-royal) piece of choice when they reach last rank.</li>
-</ul>
-<h3>Castling</h3>
-<p>
-A King that has not moved before can move two squares in the direction of a Rook that has not moved before,
-in which case that Rook is moved to the square the King skipped over.
-This is only allowed when the King is not in check, on the square it came from and would not be in check on the square it skipped over.
-</p>
-<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>
-</ul>
-<h3>Differences with FIDE</h3>
-<p>
-None.
-</p>
-<h3>Strategy issues</h3>
-<p>
-It is not possible to force checkmate on a bare King with just a single Bishop or Knight (in addition to your own King).
-</p>
-<p>
-Bishops are confined to squares of a single color.
-Having Bishops on both colors compensates this weakness, and is worth an extra 0.5 on top of their added value.
-</p>
-<p>
-As Chancellor and Queen are nearly equal in value to Queen, under-promotion is very common.
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
-<p>
-</p>
+<!--#include virtual="/server/html5-header.html" -->
+  <title>Gothic Chess</title>
+<!--#include virtual="/server/banner.html" -->
+<!--#set var="article_name" value="/server/standards/boilerplate" -->
+<!--#include virtual="/server/gnun/initial-translations-list.html" -->
+  <h1>Gothic Chess</h1>
+
+  <table cellpadding="20">
+    <tr>
+      <td><img src="Gothic.png"></td>
+
+      <td>
+        <h3>Initial setup</h3>
+
+        <p>f1, f8: King<br>
+        d1, d8: Queen<br>
+        e1, e8: Chancellor<br>
+        g1, g8: Archbishop<br>
+        a1, a8, j1, j8: Rook<br>
+        c1, c8, h1, h8: Bishop<br>
+        b1, b8, i1, i8: Knight<br>
+        a2-j2, a8-j8: Pawns</p>
+      </td>
+    </tr>
+  </table>
+
+  <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>WF</td>
+
+      <td>Can castle with Rook, moving 2 steps towards it</td>
+    </tr>
+
+    <tr>
+      <td>Queen</td>
+
+      <td>Q</td>
+
+      <td>9.5</td>
+
+      <td>WWFF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Chancellor</td>
+
+      <td>C</td>
+
+      <td>9</td>
+
+      <td>WWFF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>ArchBishop</td>
+
+      <td>A</td>
+
+      <td>8.75</td>
+
+      <td>WWFF</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Rook</td>
+
+      <td>R</td>
+
+      <td>5</td>
+
+      <td>WW</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>Bishop</td>
+
+      <td>B</td>
+
+      <td>3.5</td>
+
+      <td>FF</td>
+
+      <td>Color-bound</td>
+    </tr>
+
+    <tr>
+      <td>Knight</td>
+
+      <td>N</td>
+
+      <td>3</td>
+
+      <td></td>
+
+      <td>N</td>
+    </tr>
+
+    <tr>
+      <td>Pawn</td>
+
+      <td>P</td>
+
+      <td>1</td>
+
+      <td>mfWcfF</td>
+
+      <td>Promotes to Q, R, B, or N on reaching last rank</td>
+    </tr>
+  </table>
+
+  <h3>Pawn peculiarities</h3>
+
+  <ul>
+    <li>Pawns capture differently from how they move (straight
+    move, diagonal capture).</li>
+
+    <li>Pawns can move two squares ahead from their initial
+    position, provided they are not blocked.</li>
+
+    <li>On the move immediately after such a double push, they can
+    be captured en passant by another Pawn, as if they had only
+    moved 1 square ahead.</li>
+
+    <li>Pawns promote to another (non-royal) piece of choice when
+    they reach last rank.</li>
+  </ul>
+
+  <h3>Castling</h3>
+
+  <p>A King that has not moved before can move two squares in the
+  direction of a Rook that has not moved before, in which case that
+  Rook is moved to the square the King skipped over. This is only
+  allowed when the King is not in check, on the square it came from
+  and would not be in check on the square it skipped over.</p>
+
+  <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>
+  </ul>
+
+  <h3>Differences with FIDE</h3>
+
+  <p>None.</p>
+
+  <h3>Strategy issues</h3>
+
+  <p>It is not possible to force checkmate on a bare King with just
+  a single Bishop or Knight (in addition to your own King).</p>
+
+  <p>Bishops are confined to squares of a single color. Having
+  Bishops on both colors compensates this weakness, and is worth an
+  extra 0.5 on top of their added value.</p>
+
+  <p>As Chancellor and Queen are nearly equal in value to Queen,
+  under-promotion is very common.</p>
+ </div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
 </body>
 </html>