From news-rocq.inria.fr!jussieu.fr!esiee.fr!news.sgi.com!news.sprintlink.net!news-peer.sprintlink.net!metro.atlanta.com!news.new-york.net!news.stormking.com!PK6811S@ACAD.DRAKE.EDU Tue Feb 18 15:12:38 1997 Article: 7095 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!esiee.fr!news.sgi.com!news.sprintlink.net!news-peer.sprintlink.net!metro.atlanta.com!news.new-york.net!news.stormking.com!PK6811S@ACAD.DRAKE.EDU From: PK6811S@ACAD.DRAKE.EDU Newsgroups: rec.games.corewar Subject: He Scans Alone Date: 17 Feb 1997 14:23:00 -0500 Organization: Storm King Ind. Inc. Lines: 72 Sender: server@news.stormking.com Distribution: world Message-ID: <01IFIMZLW4CY00B1N6@ACAD.DRAKE.EDU> Reply-To: PK6811S@ACAD.DRAKE.EDU NNTP-Posting-Host: valhalla.stormking.com Originator: corewar-l@stormking.com He Scans Alone is starting his (hopefully loooong) slide down the '94 hill, primarily due to some new stone implementations, as well as the disappearance of at least one paper opponent. So here is the code. HSA scans at 80%, forward spl-carpets at 66% until zeros are found, and switches to a dat-bomb after a certain number of self-scans. The carpet technique is very effective against imps of all sizes and lengths - once a spiral slows down he becomes helpless against the fast-skip, complete-wipe, fast-skip, complete-wipe... attack. I moved him up from a 66% scan to 80% to improve performance against stone-imps which is now fair to good. Presently he suffers most against pspacers that switch a pure stone component. What's different? Positive wiping, wide-spaced scan pointers, f-scanning to swap pointers as needed, and non-linear core clear. Maybe also counting self-scans to control end-game timing. A bit of history, XTC is a spl-carpeting b-scanner that switches to dat-carpeting after a lengthy scan period. And The Machine's scan-directed wiper bears some similarity to He Scans Alone's positive wipe. Both also have imp-killing properties, as does Agony with his long carpet attack. In particular XTC would be an excellent starting point for a '94 warrior. ;redcode-94 ;name He Scans Alone ;kill He Scans Alone ;author P.Kline ;assert CORESIZE == 8000 ;strategy 80% f-scanner switches from SPL to DAT carpet tPtr dat 100 ,4100-4 ; widely-spaced pointers dat 0,0 dat 0,0 dat 0,0 dat 0,0 dat 0,0 tWipe mov tSpl ,tPtr ,>tPtr jmn.f tWipe ,>tPtr tScan sub.x #-12 ,tPtr ; increment and look sne *tPtr ,@tPtr sub.x *pScan ,@tScan ; increment and look jmn.f tSelf ,@tPtr jmz.f tScan ,*tPtr pScan mov.x @tScan ,@tScan ; swap pointers for attack tSelf slt.b @tScan ,#tEnd+4-tPtr ; self-check djn tWipe ,@tScan ; go to attack djn *pScan ,#13 ; after 13 self-scans jmp *pScan ,}tWipe ; switch to dat-wiping dat 0,0 tSpl spl #1,{1 dat 0,0 dat 0,0 tEnd dat 0,0 for 61 dat 0,0 rof tDecoy equ (tWipe+1-1196) tStart mov