Give the six play settings of the tactics board an effect; draw the board in chalk
- Match engine (Modern turn driver only, MatchEngine::tactic_effects): wing play, through balls, goal kicks, flat or high balls, offside trap and pressing of a human side shift how often it and its opponent come to a chance (play_shift, at most two steps of the chance roll). Each setting pays in one situation and costs in another; pressing also raises the foul roll. No random numbers are drawn; computer sides and the Classic core are unchanged. Documented in docs/DIFFERENCES.md. - The tactics read names the settings; desk and live dialog show every value in words with one sentence on its effect. The live dialog offers all eight settings again. - The tactics board is a slate with a wooden frame, drawn in wobbling chalk strokes. - modern_season_sim: SIM_TACTICS keeps a tactic set for measuring; new modern_play_shift_tests pin the direction of every setting. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
9708b720b2
commit
919342a5ae
16 files changed
+344
-80
No files matched your search
@@ -28,20 +28,22 @@
|
||||
.training-roster select selectbox {width:310dp;max-height:480dp;margin-top:8dp;padding:10dp;border-radius:16dp;}
|
||||
.training-roster select option {min-height:72dp;padding:10dp 14dp;line-height:52dp;}
|
||||
.tactics-board {position:absolute;left:76dp;top:0;width:2300dp;height:100%;}
|
||||
.tactics-surface {position:absolute;left:0;right:0;top:0;bottom:100dp;border:2dp var(--border);border-radius:28dp;decorator:linear-gradient(130deg,#bfd9e40a,#9ecbb809);}
|
||||
.tactics-board>.image-frame {filter:drop-shadow(#e0edbc 0dp 0dp 1dp);}
|
||||
.tactics-surface {position:absolute;left:0;right:0;top:0;bottom:100dp;}
|
||||
|
||||
.tactic-hotspot {padding:0;border:0dp;background-color:transparent;}
|
||||
.tactic-hotspot:hover,.tactic-hotspot:active {background-color:transparent;}
|
||||
.tactic-hotspot:focus-visible {border:3dp var(--accent);}
|
||||
.tactic-effort {position:absolute;left:1021.188dp;top:1021.469dp;width:1012dp;height:316.875dp;color:#d4e6b3;}
|
||||
body.silver .tactic-effort {color:#536f66;}
|
||||
.tactic-effort {position:absolute;left:1021.188dp;top:1000dp;width:1012dp;height:316.875dp;color:#f1efe2;}
|
||||
.tactic-effort-label {display:flex;align-items:baseline;gap:18dp;font-family:Chalk;font-size:60dp;line-height:1.2;letter-spacing:4dp;}
|
||||
.tactic-effort-marks {font-size:52dp;letter-spacing:1dp;line-height:1.2;}
|
||||
.tactic-effort input {position:absolute;left:2dp;top:96dp;width:96%;height:20dp;}
|
||||
.tactic-effort input slidertrack {margin:8dp 0;height:4dp;}
|
||||
.tactic-effort input sliderprogress {height:4dp;background-color:var(--accent);border-radius:2dp;}
|
||||
.tactic-effort input sliderbar {width:16dp;height:16dp;margin-top:2dp;border:0dp;border-radius:8dp;background-color:var(--accent);}
|
||||
.tactic-hint {position:absolute;left:0;right:0;bottom:34dp;height:39dp;text-align:center;font-size:34dp;color:var(--text);}
|
||||
.tactic-effort input slidertrack {background-color:#f1efe240;}
|
||||
.tactic-effort input sliderprogress {height:6dp;background-color:#f1efe2;border-radius:3dp;}
|
||||
.tactic-effort input sliderbar {width:30dp;height:30dp;margin-top:-5dp;border:0dp;border-radius:15dp;background-color:#f3d977;}
|
||||
.tactic-hint {position:absolute;left:0;right:0;bottom:20dp;height:92dp;text-align:center;font-size:34dp;color:var(--text);}
|
||||
.tactic-hint strong {display:block;font-weight:normal;}
|
||||
.tactic-hint span {display:block;font-size:28dp;line-height:1.4;color:var(--muted);}
|
||||
body.midnight .training-skill {color:#c6d6df;}
|
||||
body.midnight .training-row {color:#d8e3eb;}
|
||||
body.midnight .training-header,body.midnight .training-position {color:#9fb2c3;}
|
||||
|
||||
Reference in new issue
Block a user