summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html24
-rw-r--r--rules.js13
2 files changed, 16 insertions, 21 deletions
diff --git a/play.html b/play.html
index 72b876e..897cf0d 100644
--- a/play.html
+++ b/play.html
@@ -310,14 +310,14 @@ body.Teutons #plan_actions .russian { display: none }
filter: grayscale(50%)
}
-.mat.selected .background {
- box-shadow: 0 0 0 1px #584800, 0 0 0 3px yellow;
-}
-
.mat.command .background {
box-shadow: 0 0 0 1px #584800, 0 0 0 3px gold;
}
+.mat.selected .background {
+ box-shadow: 0 0 0 1px #584800, 0 0 0 3px yellow;
+}
+
.mat .capabilities {
position: absolute;
width: 372px;
@@ -900,6 +900,14 @@ body.shift .mustered_vassals {
transform: translateY(8px)
}
+.cylinder.command {
+ filter:
+ drop-shadow(2px 0px 0px gold)
+ drop-shadow(0px 2px 0px gold)
+ drop-shadow(0px -2px 0px gold)
+ drop-shadow(-2px 0px 0px gold);
+}
+
.cylinder.action {
filter:
drop-shadow(2px 0px 0px white)
@@ -916,14 +924,6 @@ body.shift .mustered_vassals {
drop-shadow(-2px 0px 0px yellow);
}
-.cylinder.command {
- filter:
- drop-shadow(2px 0px 0px gold)
- drop-shadow(0px 2px 0px gold)
- drop-shadow(0px -2px 0px gold)
- drop-shadow(-2px 0px 0px gold);
-}
-
.cylinder.andreas { background-image: url(images/lord_teutonic_1.svg) }
.cylinder.hermann.marshal { background-image: url(images/lord_teutonic_2.svg) }
.cylinder.hermann { background-image: url(images/lord_teutonic_3.svg) }
diff --git a/rules.js b/rules.js
index cafb883..c8b59b0 100644
--- a/rules.js
+++ b/rules.js
@@ -1,23 +1,18 @@
"use strict"
-// TODO: lift_siege / besieged needs checking!
-// TODO: remove_legate_if_endangered needs checking!
-
-// TODO: clean up and use play_card/discard_card/remove_card helpers
-
// TODO: hit remainders
// TODO: choose crossbow/normal hit application order
-
// TODO: Ambush
// TODO: Bridge - kn, sgt, 1x lh, maa, militia, serf, lh, ah
+// TODO: Lodya capability during supply!
+// TODO: 2nd edition supply rule - no reuse of transports
+// TODO: lift_siege / besieged needs checking!
+// TODO: remove_legate_if_endangered needs checking!
// TODO: precompute distance to supply lines for faster supply path rejection
// TODO - precompute possible supply lines for faster rejections
// Use BFS for winter/rasputitsa supply
-// TODO: Lodya capability during supply!
-// TODO: 2nd edition supply rule - no reuse of transports
-
// TODO: show command lord different from selected lord (inactive player)
// TODO: show siegeworks + walls on battle mat for protection indication
// TODO: show feed x2 on lord mats with > 6 units