From f1ec5afd1d8e6d99ca439df48f3d6a8a966cbf6b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 28 Dec 2023 09:16:07 +0100 Subject: [PATCH] Comment DisplayLine.scores better. --- www/js/remoteglot.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 2e66c82..2a15b3e 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -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; -- 2.39.2