;redcode-94nop ;name Killer Frogs 94 ;author John Metcalf ;strategy stone -> paper/imp ;assert CORESIZE==8000 qfac equ 3449 power equ 3199 for 20+!(r=1)*(x=qfac)*(n=power) for n%2 for !r=(r*x)%CORESIZE rof rof for !x=(x*x)%CORESIZE+!n=n/2 rof rof qdec equ (r+1) 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 -1 spl 0 ; vortex launcher add.a #istep, launch launch djn.f imp-istep*8, {6*100 imp mov.i #1, istep end qscan