]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Comment DisplayLine.scores better.
[remoteglot] / www / js / remoteglot.js
index 2e66c82fb03fb406a0ec8180762593501134e836..2a15b3e3c22c3acb02440da019c7e1815356c753 100644 (file)
@@ -175,7 +175,10 @@ let display_fen = null;
  * }}
  *
  * "start_display_move_num" is the (half-)move number to start displaying the PV at.
- * "score" is also evaluated at this point.
+ * "score" is also evaluated at this point. scores can be empty and is frequently
+ * sparse; it's generally only really useful for history (we obviously don't know
+ * much about how the score will * move during e.g. a PV, except that a mate/TB
+ * counter might go down).
  */
 var DisplayLine;