;redcode ;name Freight Train v0.2 ;author David Moore ;assert 1 ;strategy make a 7 point imp and grow it with dual continuous launchers. ;strategy add a stone that is a bit similar to Cannonade's. ;strategy optional q^2 (set switch to make the non-scanning version). ;strategy v0.2: Fixed a minor bug in the q^2 ;---------------------------------------------------------------- ; q^2 switch switch equ 1 ; set this value to 0 if you dont want the q^2 ; qscan constants QB equ 1748 QS equ 328 QI equ 163 ; boot distances relative to "launch" stbd equ 1500 ; stone c1bd equ 2004 ; continuous launcher #1 c2bd equ 6508 ; continuous launcher #2 ; imp copy step size is equ ((CORESIZE+1)/7) ; constants related to stone step equ 82 ; bombing step size time equ 2437 ; number of bombs dropped before starting clear dd equ 7 ; position of special bomb relative to stone ;---------------------------------------------------------------- ; continous launcher cont spl 0, 0 add #1+is, 1 jmp @0, cont-c1bd+(imp-main)+(6*is) ;---------------------------------------------------------------- ; q^2 fast scan/bomb for switch jmp 44, 91 jmp 33, 69 jmp 22, 47 qjb jmp 11, 25 qa3 add @qs3, qp qa2 add @qs2, @-1 qa1 add @qs1, @-2 qa0 cmp @qp, last+1 qjbp jmp 2, qjb+1 add #QI+1, qp mov qt2, @qp mov stone+1,