Article 2038 of rec.games.corewar: Newsgroups: rec.games.corewar Path: hellgate.utah.edu!dog.ee.lbl.gov!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!dunix.drake.edu!acad.drake.edu!pk6811s From: pk6811s@acad.drake.edu Subject: QuickFreeze Message-ID: <1993Sep15.102948.1@acad.drake.edu> Lines: 145 Sender: news@dunix.drake.edu (USENET News System) Nntp-Posting-Host: acad.drake.edu Organization: Drake University, Des Moines, Iowa, USA Date: Wed, 15 Sep 1993 16:29:48 GMT Since so many programs are using decoys, I designed a program to find them very quickly and hopefully catch the opponent in the act of booting. (gee, did I recommend booting :-). It works very well against slow-starting imps and FlyPaper, but some programs are away and running before QuickFreeze starts its attack. Then it is just paper and anti-vamp. How many instructions are needed to check every 100th location? Answer - 40, since you can compare two instructions at once. So QuickFreeze uses a sequence like this: cmp a,a+4000 mov #a+4000-bomber,bomber cmp b,b+4000 mob #b+4000-bomber,bomber . . . Then at bomber, bomb every 4th location and every 4000th offset from those bombs. (see 9/15/93 _Push Off_). The scan-bomb process works very well against imp-launchers which create lengthy imps, while the anti-imp paper works well against short imps. It gets clobbered by scanners. Some scores: against ttt 49/10/41 against Night Crawler 27/10/63 against Imprimis 7 28/05/67 against Sphinx v2.8 38/05/57 against FlyPaper 3.0 61/09/30 ;redcode ;name QuickFreeze ;kill QuickFreeze ;author P.Kline ;strategy faster-than-c scan finds large opponents fast ;strategy also anti-imp paper and anti-vamp cmpsp equ 53 ; scan every 2*cmpsp locations cmpdif equ 4000 ; cmp N and N+cmpdif+1 cmpstrt equ start+150 ; start scanning at cmpstrt boffset equ 5 ; adjustment for bombing bspl dat <2667,#4003 ; bomb avamp spl 0,cmpstrt-4000 ; stationary anti-vamp av2 sub