Article 1616 of rec.games.corewar: Newsgroups: rec.games.corewar From: pk6811s@acad.drake.edu Subject: Pittrappers, Antivamp & Newscan Message-ID: <1993Feb11.095309.1@acad.drake.edu> Lines: 68 Sender: news@dunix.drake.edu (USENET News System) Nntp-Posting-Host: acad.drake.edu Organization: Drake University, Des Moines, Iowa, USA Date: Thu, 11 Feb 1993 15:53:09 GMT Here are a couple of warriors that I don't believe I have published before. Neither was successful on the Hill, but both illustrate some interesting principles. The first is Antivamp, which traces pit-trap snares back to their source. It is very effective against Sucker 4 and Twilight Pits, but otherwise a dud. But I have included the technique in Imprimis, Emerald, and Eeek to get some cheap points against S4 and TP. The second is Newscan, which is a wacky, cmp-scanning pit-trapper. Newscan uses a non-fixed distance between the a and b-fields of the cmp and cannot be defended against by reflections. Unlike the Charon and Agony-based cmp-scanners, which use 'cmp a,a+dist', Newscan uses 'cmp a,-a'. It first attacks the b-field location by moving a template jmp statement (jmp 3,0) and adding the cmp instruction to it. Then it attacks the a-field location by moving a different template jmp statement to a safe place, subtracting the cmp instruction from it, and moving that to wherever it then points. While Sucker 4 attacks one location every 3 instructions, Newscan searches 2 locations in every 3 and is therefore twice as fast. It also does not leave as many useless snares in core and can't be tracked back as easily by Antivamp. Unfortunately, Newscan is so large that it is spotted first by all the other cmp-scanners, and has a hard time against S4 and TP because of their very small size. ;redcode quiet ;name Antivamp ;kill Antivamp ;author P.Kline ;strategy traces snares back to pit-trappers avamp mov -2,<-10 sub @avamp,