summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-06-05 01:00:26 +0200
committerTor Andersson <tor@ccxvii.net>2024-06-05 01:00:26 +0200
commit23da94dd6a9fcb4e45f3fdd965ecd2f6663ae1f4 (patch)
tree056e469abf4ff2aa7dfaa98bc32126147826397d /rules.js
parent329248efeb8681cac69c7db451c4601301d40049 (diff)
downloadfriedrich-23da94dd6a9fcb4e45f3fdd965ecd2f6663ae1f4.tar.gz
improve move path highlighting
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 299b353..472670d 100644
--- a/rules.js
+++ b/rules.js
@@ -373,8 +373,7 @@ function log_selected_move_path() {
if (is_important_move(game.move_path[i]) || i === game.move_path.length-1)
log(">to S" + game.move_path[i])
} else {
- log_selected()
- log("%" + game.move_path.join(","))
+ log("@" + game.selected.join(",") + ";" + game.move_path.join(","))
}
}