• [88]Dubstep

    From Stephen Gunnell@21:1/5 to All on Wed Dec 22 19:25:27 2021
    John M regularly submits a null warrior to the hills to get a record of the status. He noticed that the Infiltrator clones were losing a significant number of fights to a warrior that has no attack. We both investigated and found that the warriors had
    attacks that were eventually killing themselves if there were no findable opponents. We both tackled the issue, sharing our progress. My initial solution was to use a step that was an imp number with a very large number of points but eventually I just
    sicced my optimizer onto the problem.

    ;redcode
    ;name Dubstep A jyoh
    ;author Steve Gunnell
    ;strategy Infiltrator style jumping scanner
    ;strategy Fixing the terrible vulnerability found by John M ;)
    ;assert CORESIZE==8000

    HOP equ (bomb+2-from)
    LEN equ HOP+11
    STEP equ 3652
    START equ 2143
    LEAP equ 3457
    from mov #LEN ,LEN
    loop add #STEP ,ptr
    mov bomb ,<ptr
    ptr jmz loop ,@START
    mov bomb2 ,<ptr
    copy mov <from ,<pptr
    jmn copy-1 ,from
    spl from ,<-START
    pptr jmz @0 ,LEAP
    bomb2 dat <2667 ,<5334
    bomb dat <2667 ,<0-HOP

    end from

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)