;redcode-94nop ;name Grendel's Revenge ;author S.Fernandes ;strategy q^4scan -> scanner ;assert CORESIZE == 8000 org qscan warr equ shades step equ 4970 offset equ step sep equ 5 count equ 660 target mov.b shades , #speedup wipe mov bomb , >target loop add inc , shades shades seq }offset+sep , offset djn.f target , @target speedup djn loop , #count inc spl #step , step clear mov cleanup , >clear-3 djn.f clear , >clear-3 cleanup dat <2667 , 7 for 4 dat 0 , 0 rof bomb spl #0 , <4001 for 55 dat 0 , 0 rof qfac equ 3361 qdec equ -1758 qa equ (qfac*(qtab0-1-qptr)+1) qb equ (qfac*(qtab0-qptr)+1) qc equ (qfac*(qtab1-1-qptr)+1) qd equ (qfac*(qtab1-qptr)+1) qe equ (qfac*(qtab1+1-qptr)+1) qf equ (qfac*(qtab2-qptr)+1) qtime equ 18 qstep equ -7 qgap equ 87 qdecode mul.b *q1, qptr q0 sne