A-13

Conditional tactic rules

Every unit decides with an ordered list of rules, "condition → action": the first rule that holds and whose action is usable wins, otherwise the default. The evaluator is pure and explains itself (which rule fired and why the ones above it did not); players edit the list in a compact editor, and a plate in battle says why each unit did what it did.

Watch: every action comes from a rule; the plate names the unit, the rule and the target. At 9.5 s the editor opens on Sel, lowers "3+ foes → Volley" to 2+ and moves it to the top; her next turn casts Volley.T edit rules · Space pause

Decision log

Each line is one decide(): the rule that fired, its reason, and the trace of every rule checked above it.

    On a native pixel canvas

    The same module on 256 × 144 canvases, scaled with nearest-neighbour: built-in 5×7 and 3×5 bitmap fonts, whole-pixel plates and target ticks, and the editor at native size.

    Why plate, crisp: unit · rule, action → target, ticks on the target.
    Editor, crisp (256 × 224): rows, value cell in edit, the live "Now:" line.