;redcode-lp ;name WhenEver ;author Roy van Rijn ;strategy Warrior idea from Eve15 (imps and gate) ;strategy New qscan (extendedQ^4) other imp and other gate ;strategy Rewritten from scratch! (Its a simple warrior!) ;assert 1 ;some comments quickly added zero equ qbomb qtab3 equ qbomb qbomb dat >qoff , >qc2 dat 0 , 0 pGo mov imp , qb2 spl imp , >qb3 djn.f #0 , <-20 jmp #0 , <-21 ; placed the imp away...behind the qscan for 10 dat 0 , 0 rof dat zero-1 , qa1 qtab1 dat zero-1 , qa2 for 45 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 ;qy*(qz-1)=1 ;q0 mutation qgo sne qptr+qz*qc2 , qptr+qz*qc2+qb2 seq qptr , qptr+qz+(qb2-1) jmp q2 ,