Article 1379 of rec.games.corewar: Newsgroups: rec.games.corewar From: pk6811s@acad.drake.edu Subject: Re: Types of bombs Message-ID: <1992Oct9.132426.1@acad.drake.edu> Lines: 155 Sender: news@dunix.drake.edu (USENET News System) Nntp-Posting-Host: acad.drake.edu Organization: Drake University, Des Moines, Iowa, USA References: <70624@hydra.gatech.EDU> Date: Fri, 9 Oct 1992 19:24:26 GMT In article <70624@hydra.gatech.EDU>, gt6525c@prism.gatech.EDU (Damon Gallaty) writes: (Parts of this note are taken from my article "stone.better.txt" on soda.berkely.) > I was just curious about people's ideas on bombing. If you're going to > bomb someone, why use decrementing, jmp's to slave pits, and such? WHy > not just bomb a typical DAT and destroy them right there? It seems > . . . > > - Damon Gallaty > Ok Damon, good question that many new players ask. First, jmps to slave pits or stun-bombs are needed to overcome replicating opponents, like mice or 'paper'. If you only bomb with dat-zero, you'll lose 80 or 90% of your battles against replicators, you just can't catch them all (at the same time). Example stun bombs: ------- spl 0 ------- spl -1 ------- spl 0 <- recommend this one jmp -1 ------- spl 0,8 <- sometimes fought off by paper mov -1,<-1 ------- spl -1,0 <- sometimes reaches out and grabs you mov -1,<-1 <- but good against paper-colonies ------- (Another term is 'carpet bombing' where you lay down a series of spl 0's) Second, decrements are a free extension of the bombing process, they cost you nothing and hopefully give your opponent fits. Here's an example of an old 'stone' type bomber: ;name Twill ;author Andy Pierce offset dat #-5138,#5138 start spl 0,0 add offset,1 mov <0,0 jmp -2,0 end start Now, just because it's old-fashioned, doesn't mean it's not effective. Twill used to hang around the top of the hill most of the time, because it beat up on all the scanners out there. Anyway, you'll note that Twill bombs one location with a three-instruction loop - a real honest bomb that will probably kill whatever is there. Also, by using the predecrement form on the a-operand, Twill decrements another location. Thus Twill 'trashes' two locations with three instructions. (If you didn't know before, the add instruction adds both the a- and b-operands.) The two important considerations for bombers are pattern and throw-weight. Twill has a excellent pattern, checkering core rapidly then filling in the blanks. Twill also has good throw weight, bombing one location and decrementing one every three instructions, or 66% of c. Now consider this fighter: ;redcode ;name Emerald ;author P.Kline inc dat #-2045,#2045 emerald spl 0,100 stone mov