;redcode-94nop ;name PerfectTimev2 ;author Nenad Tomasev ;assert CORESIZE==8000 ;strategy stone/paper ps2 equ 1123 bs1 equ 3427 bs2 equ 1311 pbdist equ 1161 pend equ pbomb+1 numproc equ 8 sstep equ 5989 ini equ sstep-1 sbdist equ 1743 pbdist1 equ 2891 zero equ qbomb qtab3 equ qbomb 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 3497 qy equ 381 qoff equ -87 qstep equ -5 qtime equ 13 org qgo boot spl 1, 0 spl 1, 0 spl 1, 0 mov bs1 mov pbomb, >bs2 cpy mov p2+numproc, }p2 jmz.f p2, *cpy pbomb dat <2667, <5334 dat 0, 0 stone spl #2*sstep, >2*sstep mov.i sbomb, *shoot incr add.f stone, @-1 shoot mov.i ini, ini+sstep jmp -3, >-30 sbomb dat >1, }1 for 8 dat 0, 0 rof qbomb dat >qoff, >qc2 for 10 dat 0, 0 rof dat 0, #qb1 qtab2 dat 0, #qb2 dat 0, #qb3 for 12 dat 0, 0 rof dat zero - 1, qa1 qtab1 dat zero - 1, qa2 qgo sne qptr + qz*qc2, qptr + qz*qc2 + qb2 seq qptr, qptr + qz + (qb2-1) jmp q2,