1<!DOCTYPE HTML>
2<html>
3
4<!--
5  pgn4web javascript chessboard
6  copyright (C) 2009-2014 Paolo Casaschi
7  see README file and http://pgn4web.casaschi.net
8  for credits, license and more details
9-->
10
11<head>
12
13<title>Chess960 World Championship 2006</title>
14
15<link href="chess960wch06.css" type="text/css" rel="stylesheet" />
16
17<link rel="icon" sizes="16x16" href="pawn.ico" />
18
19<script src="pgn4web.js" type="text/javascript"></script>
20<script type="text/javascript">
21  "use strict";
22
23  SetPgnUrl("chess960wch06.pgn");
24  SetImagePath("images/uscf/32");
25  SetImageType("png");
26  SetHighlightOption(true);
27  SetGameSelectorOptions(null, false, 0, 0, 1, 7, 7, 3, 0); // (head, num, chEvent, chSite, chRound, chWhite, chBlack, chResult, chDate);
28  SetCommentsIntoMoveText(true);
29  SetCommentsOnSeparateLines(true);
30  SetAutoplayDelay(2500); // milliseconds
31  SetAutostartAutoplay(false);
32  SetAutoplayNextGame(false);
33  SetInitialVariation(0);
34  SetInitialGame("first");
35  SetInitialHalfmove(2, true);
36  SetShortcutKeysEnabled(true);
37
38function customFunctionOnPgnGameLoad() {
39  var theObj;
40  if (theObj = document.getElementById('GameFEN'))
41  { if (gameFEN[currentGame]) { theObj.innerHTML = gameFEN[currentGame].match(/\s*\S*/); } }
42  if (theObj = document.getElementById('GameWhite'))
43  { theObj.innerHTML = theObj.innerHTML.match(/\s*[^,]*/); }
44  if (theObj = document.getElementById('GameBlack'))
45  { theObj.innerHTML = theObj.innerHTML.match(/\s*[^,]*/); }
46}
47
48</script>
49
50</head>
51
52<body>
53
54<!-- paste your PGN below and make sure you dont specify an external source with SetPgnUrl() -->
55<form style="display: none;"><textarea style="display: none;" id="pgnText">
56
57</textarea></form>
58<!-- paste your PGN above and make sure you dont specify an external source with SetPgnUrl() -->
59
60<table width="100%" cellspacing="0" cellpadding="0" border="0">
61<tr valign=top>
62
63<td width="356" align="left">
64
65<div id="GameHeader">
66<div class="label" style="text-align: center;">
67Mainz GER, 2006
68<br/>
69Chess960 rapid WCh
70<div>&nbsp;</div>
71</div>
72<table width="100%"><tr><td align="left" width="15%">
73<div class="label">#<span id="GameRound"></span></div>
74</td><td align="center" width="70%">
75<div class="label">
76<span id="GameWhite"></span>
77&nbsp;-&nbsp;
78<span id="GameBlack"></span>
79</div>
80</td><td align="right" width="15%">
81<div class="label"><span id="GameResult"></span></div>
82</td></tr></table>
83<div>&nbsp;</div>
84</div>
85
86<div id="GameBoard"></div>
87<div>&nbsp;</div>
88<div id="GameButtons"></div>
89<div>&nbsp;</div>
90<div id="GameSelector"></div>
91<div>&nbsp;</div>
92<div class="gameFEN" id="GameFEN"></div>
93<div>&nbsp;</div>
94<div class="gameText" id="GameText"></div>
95
96</td>
97<td align="left">
98
99<div id="TextHeader" style="text-align: justify; margin-left: 40px; margin-right: 5px;">
100These are the games for the <a target="_blank" href="http://en.wikipedia.org/wiki/Chess960">Chess960</a> rapid World Championship 2006 in Mainz (Germany) between Levon Aronian (Armenia) and Peter Svidler (Russia). Aronian won the match 5-3, with no draws!
101<div>&nbsp;</div>
102<div>&nbsp;</div>
103</div>
104
105<div style="text-align: justify; margin-left: 40px; margin-right: 5px;">
106<script type="text/javascript">
107document.write('This page shows pgn4web support for <a target="_blank" href="http://en.wikipedia.org/wiki/Chess960"><b>Chess960</b></a>, a.k.a. <b>Fischer random chess</b>.');
108</script>
109This chess variant uses the same board and pieces as standard chess, with extended options for the starting position and castling rules adapted accordingly.
110<div>&nbsp;</div>
111Starting position:
112<ul style="margin-top:0px; list-style-type:square;">
113  <li>pawns start in the same position as in standard chess</li>
114  <li>White pieces are placed randomly on the first rank
115  <ul style="list-style-type:square;">
116    <li>the King must be placed somewhere between the Rooks</li>
117    <li>the Bishops must be on opposite color squares</li>
118  </ul></li>
119  <li>Black pieces are placed equal and opposite to the White pieces</li>
120</ul>
121<div>&nbsp;</div>
122Castling rules:
123<ul style="margin-top:0px; list-style-type:square;">
124  <li>castling is allowed under the following conditions
125  <ul style="list-style-type:square;">
126     <li>the King and the castling Rook must not have moved before</li>
127     <li>no square between the King's initial and final squares may be under attack by any opposing piece</li>
128     <li>all the squares between the King's initial and final squares and all the squares between the Rook's initial and final squares must be vacant except for the King and the castling Rook</li>
129  </ul></li>
130  <li>after castling, the Rook and King's final positions are exactly the same as they would be in standard chess</li>
131</ul>
132<div>&nbsp;</div>
133Games notation:
134<ul style="margin-top:0px; list-style-type:square;">
135  <li>games are recorded using the <a target="_blank" href="http://en.wikipedia.org/wiki/Portable_Game_Notation">PGN notation</a>, with an extension to the <a target="_blank" href="http://en.wikipedia.org/wiki/Forsyth-Edwards_Notation">FEN notation</a> in order to support castling information</li>
136  <li>two very similar <a target="_blank" href="http://en.wikipedia.org/wiki/Forsyth-Edwards_Notation">FEN</a> extensions have been proposed: <a target="_blank" href="http://en.wikipedia.org/wiki/X-FEN">X-FEN</a> and Shredder-FEN</li>
137<script type="text/javascript">
138document.write('  <li>pgn4web understands both extensions and generates <a target="_blank" href="http://en.wikipedia.org/wiki/X-FEN">X-FEN</a> strings when clicking the associated shortcut square</li>');
139</script>
140</ul>
141</div>
142
143</td>
144</tr>
145</table>
146
147<div>&nbsp;</div>
148
149<script type="text/javascript">
150  "use strict";
151
152  var gameHeaderObj = document.getElementById("GameHeader");
153  var textHeaderObj = document.getElementById("TextHeader");
154  if (gameHeaderObj && gameHeaderObj.offsetHeight && textHeaderObj) {
155    textHeaderObj.style.minHeight = gameHeaderObj.offsetHeight + "px";
156  }
157</script>
158
159</body>
160
161</html>
162