Add clock support.
[remoteglot] / www / index.html
1 <!doctype html>
2 <html>
3 <head>
4   <meta charset="utf-8" />
5   <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6   <title>analysis.sesse.net</title>
7
8   <link rel="stylesheet" href="css/chessboard-0.3.0.min.css" />
9   <link rel="stylesheet" href="css/remoteglot.css" />
10   <meta name="viewport" content="width=device-width, initial-scale=1" />
11 </head>
12 <body>
13 <audio id="ding" preload="none">
14   <source src="ding.opus" type="audio/ogg; codecs=opus" />
15   <source src="ding.mp3" type="audio/mp3" />
16 </audio>
17 <h1 id="headline">Analysis</h1>
18 <div id="boardcontainer">
19   <div id="board"></div>
20   <div id="bottompanel">
21     <p id="whiteclock"></p>
22     <p id="blackclock"></p>
23     <p id="numviewers"></p>
24   </div>
25 </div>
26 <div id="analysis">
27   <p id="score">Score:</p>
28   <p><strong>PV:</strong> <span id="pv"></span></p>
29   <p id="searchstats"></p>
30   <h3>History and potential moves (multi-PV)</h3>
31   <p id="sortbyscoreholder">
32     Sound:
33     <span id="soundon"><a href="javascript:set_sound(true)">On</a></span>
34     <span id="soundoff"><a href="javascript:set_sound(false)">Off</a></span>
35     |
36     Sort by:
37     <span id="sortbyscore0"><a href="javascript:resort_refutation_lines(0)">Move</a></span>
38     <span id="sortbyscore1"><a href="javascript:resort_refutation_lines(1)">Score</a></span>
39     |
40     <span id="history">No history</span>
41     |
42     <span id="linemsg">Click on any move to show it on the board.</span>
43     <span id="linenav">
44       <span id="prevmove"><a href="javascript:prev_move();">Previous</a></span>,
45       <span id="nextmove"><a href="javascript:next_move();">Next</a></span>,
46       <a href="javascript:show_line(-1, -1);">Exit to main position</a>
47     </span></p>
48   <table id="refutationlines"></table>
49 </div>
50 <h2 style="clear: both;">Symbol explanation</h2>
51 <ul>
52   <li><strong>Score:</strong> 1.00 is the value of one pawn (in the opening). Positive values are better for white.</li>
53   <li><strong>PV:</strong> Principal Variation, the series of moves the engine thinks is the best.</li>
54   <li><strong>Thick red line:</strong> Marks the best move (in the view of the engine). Multiple chained arrows
55     means that the PV starts with multiple successive moves with the same piece, ie., the engine thinks
56     that the piece will execute a maneuver.</li>
57   <li><strong>Thin red lines:</strong> Other good moves, maximum two. Note that even though these are also
58     quality checked, these are less thoroughly analyzed by the engine,
59     and should be taken with a grain of salt.</li>
60   <li><strong>Thick blue line:</strong> Marks the best <em>response</em> move. Note that this is only rarely shown,
61     since usually, the best response move depends on what the first move is. A typical case is when the current move
62     is forced or nearly so.</li>
63 </ul>
64 <p id="credits"><a href="http://git.sesse.net/?p=remoteglot;a=summary">remoteglot</a>
65   &copy; 2007&ndash;2014 <a href="http://www.sesse.net/">Steinar H. Gunderson</a>.
66   Chess analysis by <a href="http://stockfishchess.org/" id="engineid">Stockfish</a> (main analysis: 20x2.3GHz Haswell-EP,
67   multi-PV search: 12x2.3GHz Sandy Bridge).
68   Moves provided by <a href="http://live.fide.com/sochi/">FIDE</a>.
69   Hosting and multi-PV analysis hardware by <a href="http://www.samfundet.no/">Studentersamfundet i Trondhjem</a>.
70   JavaScript chessboard powered by <a href="http://chessboardjs.com/">chessboard.js</a>
71   and <a href="https://github.com/jhlywa/chess.js">chess.js</a>.
72   Ding sound by <a href="https://www.freesound.org/people/Aiwha/sounds/196106/">Aiwa</a> (CC-BY-3.0).
73   7-man Lomonosov tablebase lookup by <a href="http://tb7.chessok.com/">ChessOK</a>.</p>
74
75 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
76 <script type="text/javascript" src="js/chessboard-0.3.0.min.js"></script>
77 <script type="text/javascript" src="js/chess.min.js"></script>
78 <script type="text/javascript" src="js/remoteglot.js"></script>
79 </body>
80 </html>