⚙️ BARE METAL RUNES DIFFICULTY: Adept Behavioral

The Strategy

Swapping out the combat algorithms of an undead warlord on the fly.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Strategy
ARCANUM SCHOOL: Necromancy // Combat Tactics
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// BARE METAL ARCHITECTURE RUNE //
section .data
    combat_strategy dq strat_defend

section .text
    global execute_combat

execute_combat:
    mov rax, [combat_strategy]
    jmp rax

strat_defend:
    ; Shield wall logic
    ret

strat_attack:
    ; Charge logic
    ret

The Strategy pattern defines a family of interchangeable algorithms. Encapsulated as distinct function blocks and bound to a dynamic pointer, the warlord’s mind can pivot from iron defense to ruthless assault in a single cycle.

Runic Tags: #strategy #assembly #behavioral #necromancy