;redcode-odd ;name Unreal Madrid ;author G.Labarga ;assert 1 ;strategy Redcoders Frenzy Tournament round 21, entry #1. ;startegy These players work hard, not like the Real ones ;) ;strategy Q^4.5->Twin "airbagged" ball bombers / vampiric 1c linear scanner ;strategy Bombers suicide after complete the bombing phase to let the scanner work faster ;strategy When captured, the ball looks itself for the goal and scores. value equ 3456 ; just for Koenigstuhl [CCB] goal equ value ball equ value gate equ (loop-5) dest equ -(sstep/2) sstep equ (19*8*2) sloc1 equ (sptr-8+3000-2) sloc2 equ (sloc1+4000-(sstep/2)) zero equ qbomb qtab3 equ qbomb qbomb jmp #qoff , >qc2 dat 0,0 dat 0,0 djn #0, #qb1 qtab2 djn #0, #qb2 djn #0, #qb3 for 2 dat 0,0 rof bmb: jmp #(sstep/2),#ball loop: ref: mov.i *0,*dest mov.i bmb,@ref add.ab #sstep,}ref jmz.a {ref,ref ;selfcheck mov 1,>-1 ;anti-stun/vamp src1: dat 0,0 for 3 dat 0,0 rof dat zero-1 , qa1 qtab1 dat zero-1 , qa2 for 4 dat 0,0 rof boot: src2: spl sptr,bmb+6 des1: spl 2,sloc1+6 des2: spl 1,sloc2+6 mov {src1,qptr , qptr+qz+(qb2-1) jmp q2 ,