;redcode-94 ;name Fortress Destroyer ;author Zul Nadzri ;strategy Fortress Hill featuring "Quick Strike", designed for CSE2005 Final Round ;strategy It has weaknesses, however, I believe it forces the opponent to choose limited strategies. ;strtaegy Will prevail until a "Fortress Protector" is deployed in the future. ;strategy On the other hand, fortress shield will be too slow against scanners. ;strategy What it does is quickly damages the other fortress, creates panic...no time to think. ;assert 1 org catapult ;------------------------------------ measuring both fortresses -------------------- maxDistance equ 3600 maxArea equ 400 ;------------------------------------ catapult angle calculation ------------------- target equ maxDistance-tower dungeon equ maxArea-fort wall equ (dungeon-rock)+(city-rock) city equ 50 fort equ 21 tower equ 7 rock equ 1 ;------------------------------------ Quick Strike ! -------------------------------- castle dat #siege, #siege+10 for dungeon dat #siege, #siege+20 rof catapult mov catapult, target siege spl @catapult, }target-1 reload ldp #rock, @catapult watch djn #0, #tower reload2 add #rock, @catapult damage sne #wall, @catapult melee jmp warrior, }target recalculate stp.b @catapult, #rock missed dat 0,0 warrior mov.i #0, rock ;to be replaced with warrior if I have time to do so for MAXLENGTH-CURLINE dat #siege, #siege+30 rof end