]> git.sesse.net Git - remoteglot/blobdiff - www/index.dev.html
Handle streaming PGNs, like from Lichess (although this might break non-streaming...
[remoteglot] / www / index.dev.html
index b3e1cc40e24787933161d9a4cc8893245a923615..a44ec1321da768af2dc041b9934d0fe6cf4f95de 100644 (file)
@@ -5,18 +5,16 @@
   <title>analysis.sesse.net</title>
   <meta name="viewport" content="width=device-width, initial-scale=1" />
   <!-- replace <style>[chomp;css/remoteglot.min.css]</style> -->
-  <link rel="stylesheet" href="css/chessboard-0.3.0.min.css" />
+  <link rel="stylesheet" href="css/chessboard-0.3.0.css" />
   <link rel="stylesheet" href="css/remoteglot.css" />
   <!-- end replace -->
   <!-- replace <link rel="shortcut icon" href="data:image/png;base64,[base64;favicon.ico]" type="image/png"> -->
   <!-- end replace -->
 
-  <!-- replace <script>[js/remoteglot.min.js]</script> -->
-  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
-  <script type="text/javascript" src="js/chessboard-0.3.0.min.js"></script>
+  <!-- replace <script>/*REPLACE:inlinejson*/[js/remoteglot.min.js]</script> -->
+  <script type="text/javascript" src="js/chessboard-0.3.0.js"></script>
   <script type="text/javascript" src="js/chess.js"></script>
   <script type="text/javascript" src="js/json_delta.js"></script>
-  <script type="text/javascript" src="js/jquery.sparkline.js"></script>
   <script type="text/javascript" src="js/remoteglot.js"></script>
   <!-- end replace -->
 </head>
@@ -39,9 +37,9 @@
 <div id="analysis">
   <div id="scorecontainer">
     <span id="score">Score:</span>
-    <div id="scoresparkcontainer">
-      <span id="scorespark"></span>
-    </div>
+    <svg xmlns="http://www.w3.org/2000/svg" id="scoresparkcontainer">
+    </svg>
+    <div id="sparklinehover"></div>
   </div>
   <p id="pvcontainer"><strong id="pvtitle">PV:</strong> <span id="pv"></span></p>
   <p id="searchstats"></p>
@@ -63,7 +61,9 @@
 </div>
 <h2 style="clear: both;">Symbol explanation</h2>
 <ul>
-  <li><strong>Score:</strong> 1.00 is the value of one pawn (in a balanced endgame). Positive values are better for white.</li>
+  <li><strong>Score:</strong> 1.00 is roughly one pawn
+   (<a href="https://github.com/official-stockfish/Stockfish/commit/ad2aa8c06f438de8b8bb7b7c8726430e3f2a5685">technically</a>,
+   50% win probability for a computer). Positive values are better for white.</li>
   <li><strong>PV:</strong> Principal Variation, the series of moves the engine thinks is the best.</li>
   <li><strong>Thick red line:</strong> Marks the best move (in the view of the engine). Multiple chained arrows
     means that the PV starts with multiple successive moves with the same piece, ie., the engine thinks
     is forced or nearly so.</li>
 </ul>
 <p id="credits"><a href="http://git.sesse.net/?p=remoteglot;a=summary">remoteglot</a>
-  &copy; 2007&ndash;2022 <a href="http://www.sesse.net/">Steinar H. Gunderson</a>.
+  &copy; 2007&ndash;2023 <a href="http://www.sesse.net/">Steinar H. Gunderson</a>.
   Chess analysis by <a href="http://stockfishchess.org/" id="engineid">Stockfish</a><span id="enginedetails"></span>.
   <span id="movesource"></span>
   Hosting and additional analysis hardware by <a href="http://www.samfundet.no/">Studentersamfundet i Trondhjem</a>
   and Berge Schwebs Bjørlo.
-  JavaScript chessboard powered by <a href="http://chessboardjs.com/">chessboard.js</a>
+  Chessboard powered by <a href="http://chessboardjs.com/">chessboard.js</a>
   and <a href="https://github.com/jhlywa/chess.js">chess.js</a>.
   Ding sound by <a href="https://www.freesound.org/people/Aiwha/sounds/196106/">Aiwha</a> (CC-BY-3.0).
-  <span id="lomonosov">7-man Lomonosov tablebase lookup by <a href="http://tb7.chessok.com/">ChessOK</a>.</span></p>
+  </p>
 </body>
 </html>