;Name: Tyson Hoffman ;Robot: Quick Kill v. .01 ;Distributable: No. ;Comments: Moves in circles counter-clockwise and rotates scanner. Scanner will move the ; other direction if it loses a lock on the enemy. Heat managemant through low ; weapon and high heat sink. Does very badly in anything but one on one due to ; overheating. ;Revision history: ;V.01-Base idea. Rotated every 100 clock cycles. Had weapon=0 to fire two shots at once to ; maybe hit more often. Scanner=750 meters. ;V.02-Development Changed weapon=1 and decreased armor. Fired only 1 shot. Changed movement ; to be based off of meters travled & collisions not time. ;V.03-Development Came up with the idea of the scanner switching directions if it lost the ; target. Slightly more effective than other method. ;V.04-Inspiration I tested it against Gladys and realized that I was always moving with Gladys ; scanner right on my heels, changed rotation direction for great effect. Also ; changed config based on fights with Gladys to current setup. #config scanner= 1 #config weapon= 1 #config armor= 2 #config engine= 4 #config heatsinks= 4 #config mines= 0 #config shield= 0 #def tr #def t1 #def t2 opo 22, 20 ;1 opo 22, 20 ;2 opo 17, 8 ;3 mov ax, 1 ;4 int 3 ;5 mov t1, 14 ;6 mov t2, -14 ;7 !start opo 11, 100 ;8 cmp @9, 100 ;9 jgr !turn ;10 cmp @8, 0 ;11 jgr !turn2 ;12 !scan ipo 7, ax ;13 cmp ax, 1500 ;14 jls !fire ;15 opo 12, t1 ;16 cmp tr, 0 ;17 je !start ;18 sub tr, 1 ;19 swap t1, t2 ;21 jmp !start ;22 !fire opo 15, @3 ;23 mov tr, 1 ;25 opo 14, @3 ;26 opo 14, @3 ;27 jmp !scan ;28 !turn int 19 ;29 !turn2 int 13 ;30 opo 14, -15 ;31 jmp !scan ;32 #END Time use Initalization: 17 cpu clicks 3.4 clock cycles !start:(full execution) 6 cpu clicks 1.2 clock cycle !start:(meters > 300) 5 cpu clicks 1 clock cycle !scan:(full execution) 18 cpu clicks 3.6 clock cycles !scan:(tr = 0, or didn't loose track of enemy) 13 cpu clicks 2.6 clock cycles !scan:(ax<1500, or enemy in scanner) 6 cpu clicks 1.2 clock cycles !fire 9 cpu clicks 1.8 clock cycles !turn:(full execution) 7 cpu clicks 1.4 clock cycles !turn:(colission happened) 6 cpu clicks 1.2 clock cycles Application: Init to No Target;1st, No Target (A,D,F)| X | | | | | | Scan turn !Target;Use!turn Lost Target (B|C,G)| | X | | | | | Found Target ; Target (D,E)| | | X | | | | Found Target ;Use !turn Target (B|C,E)| | | | X | | | Found Target ;Had target Target (E)| | | | | X | | Scanning ; No Target (D,G)| | | | | | X | A!Initlization: 17 cpu clicks 3.4 clock cycles|3.4|0.0|0.0|0.0|0.0|0.0| B!start(m>300): 12 cpu clicks 2.4 clock cycles|3.4|2.4|0.0|2.4|0.0|0.0| C!start(col>0): 12 cpu clicks 2.4 clock cycles|3.4|2.4|0.0|2.4|0.0|0.0| D!start(full) : 06 cpu clicks 1.2 clock cycles|4.6|2.4|1.2|2.4|0.0|1.2| E!scan(target): 15 cpu clicks 3.0 clock cycles|4.6|2.4|4.2|5.4|3.0|1.2| F!scan(no tar): 13 cpu clicks 2.4 clock cycles|7.0|2.4|4.2|5.4|3.0|1.2| G!scan(full) : 18 cpu clicks 3.6 clock cycles|7.0|6.0|4.2|5.4|3.0|4.8|