;redcode-94 ;name Quicksilver ;author Michal Janeczek ;strategy Q^4 -> stone/imp ;assert 1 org qGo hStep equ 3039 hTime equ 3360 hDjn equ 2813 hOff equ 5 hDist equ 2868 iStep equ 2667 iTime equ 101 iDjn equ 4774 iOff equ hDist+398-iDist iDist equ (hDist+2+hStep*(iTime-hTime)) qX equ 2922 qA equ 5673 qB equ 1154 qC equ 787 qD equ 4268 qE equ 7749 qF equ 1825 qStep equ 7 qTime equ 16 qOff equ 87 qBomb dat {qOff , qF pGo mov hBomb , hBoot+hDist+hOff spl 2 , }qC qTab2 spl 2 , }qD spl 1 , }qE mov {pGo , {hBoot mov {pGo , {iBoot hBoot djn hDist , #5 iBoot djn.f hBoot+iDist , #qA qTab1 spl #iPump+iOff , }qB sub.f #-(iStep+1) , iJump iPump mov iImp , }qTab1 iJump djn.f iOff-2*(iStep+1) , {iDjn iImp mov.i #0 , iStep spl #0 , 0 hLoop mov hBomb+hOff , @hPtr hHit add #hStep*2 , hPtr hPtr mov hBomb+hOff , }hHit-hStep*hTime djn.f hLoop , 1 for 51 dat 0 , 0 rof qGo seq qPtr+qX , qPtr+qX+qD jmp qSkip , {qPtr+qX+qStep sne qPtr+qX*qE , qPtr+qX*qE+qE seq