diff options
-rw-r--r-- | play.html | 20 | ||||
-rw-r--r-- | rules.js | 4 |
2 files changed, 13 insertions, 11 deletions
@@ -301,24 +301,28 @@ svg .hex.refit.action { stroke: lightskyblue; } -svg .hex.to { - stroke: blue; - stroke-dasharray: 4 4; -} - svg .hex.action { stroke: ivory; stroke-dasharray: 2 2; stroke-dashoffset: 1; } +svg .hex.action.forced_march { + stroke: crimson; +} + svg .hex.from { stroke: yellow; - stroke-dasharray: 8 4; + stroke-dasharray: none; } -svg .hex.action.forced_march { - stroke: crimson; +svg .hex.to { + stroke: yellow; + stroke-dasharray: 4 4; +} + +svg .hex.to.from { + stroke-dasharray: 8 4; } svg .hex.selected { @@ -3270,12 +3270,10 @@ states.move = { let rommel1 = (game.rommel === 1) ? 1 : 0 let rommel2 = (game.rommel === 2) ? 1 : 0 - if (game.to1) view.to1 = game.to1 - if (game.to2) view.to2 = game.to2 - if (game.selected < 0) { view.prompt = `Move: Select unit to move.` + show_move_commands() // Select Group Move 1 if (!game.to1 && game.from1) { |