;redcode-94nop ;name Black Knight ;author Christian Schmidt ;strategy stone/imp ;assert 1 ;optimax sai sDist equ 3486 iDist equ 4676 iDist2 equ 750 iAwa equ 3603 iAwa2 equ 427 istep equ 2667 istep2 equ 2667 sOff equ -200 dStep equ 197 xRef equ qbomb zero equ qbomb qtab3 equ qbomb qbomb dat >qoff, >qc2 dat 0, 0 pGo spl misc, -1, >1 imp mov.i #istep, *0 imp2 mov.i #1035, istep2 dat zero-1, qa1 qtab1 dat zero-1, qa2 for 17 dat 0, 0 rof iStart spl #0, 0 add.a #istep, 1 launch spl iStart+iAwa-(istep*4) djn.f sDist-iDist-3, <2057 for 5 dat 0, 0 rof iStart2 spl #0, 0 add.a #istep, 1 launch2 spl iStart2+iAwa2-(istep*4) djn.f sDist-iDist2-3, <288 for 12 dat 0, 0 rof qc2 equ ((1 + (qtab3-qptr)*qy) % CORESIZE) qb1 equ ((1 + (qtab2-1-qptr)*qy) % CORESIZE) qb2 equ ((1 + (qtab2-qptr)*qy) % CORESIZE) qb3 equ ((1 + (qtab2+1-qptr)*qy) % CORESIZE) qa1 equ ((1 + (qtab1-1-qptr)*qy) % CORESIZE) qa2 equ ((1 + (qtab1-qptr)*qy) % CORESIZE) qz equ 2108 qy equ 243 qgo sne qptr + qz*qc2, qptr + qz*qc2 + qb2 seq qptr, qptr + qz + (qb2-1) jmp q2,