From news-rocq.inria.fr!jussieu.fr!oleane!plug.news.pipex.net!pipex!tube.news.pipex.net!pipex!dish.news.pipex.net!pipex!tank.news.pipex.net!pipex!swrinde!cssun.mathcs.emory.edu!nntp.msstate.edu!news.memphis.edu!nntp.rhodes.edu!hal.mathcs.rhodes.edu!grah Fri Jan 5 21:09:25 1996 Article: 3492 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!oleane!plug.news.pipex.net!pipex!tube.news.pipex.net!pipex!dish.news.pipex.net!pipex!tank.news.pipex.net!pipex!swrinde!cssun.mathcs.emory.edu!nntp.msstate.edu!news.memphis.edu!nntp.rhodes.edu!hal.mathcs.rhodes.edu!graham Newsgroups: rec.games.corewar Subject: Re: Help with test suite Message-ID: <1996Jan5.121148.3110@rhodes> From: graham@hal.mathcs.rhodes.edu (Randy Graham) Date: 5 Jan 96 12:11:47 -0600 References: <4cj5rn$dds@soap.news.pipex.net> Nntp-Posting-Host: hal.mathcs.rhodes.edu X-Newsreader: TIN [version 1.2 PL2] Lines: 137 David Boeren (akemi@netcom.com) wrote: : Thanks for the advice. I've already got a new suite mostly put together, : and it contains several of the warriors that you've mentioned. One thing : though... I've heard discussion of 75% scanners, and I want to have one of : these in my test suite, but I can't find any of them because I don't know : who they are. Some people mentioned names like Porch Swing, but teh version : of Porch Swing that I looked at didn't scan at 75%, it was more like a : bomber with a mini-scan in it. Can anyone fill me in on the 75% scanner : thing? Well, I am not sure about a 75% scanner, but I can give you Porch Swing + (which I don't think Planar has). It is an 80% bomb/scanner with decoy. It throws 2 bombs and scans two locations in a 5 instruction loop. It also has a djn stream in that loop, so I guess in a way, it is a 100% bomb/scanner. Code follows below. There are also 80% scanners. Check out Taking Names by P.Kline. Also, Duel by me (Randy Graham). I believe Planar has both of them, but if not, Paul can probably send his, and if I can find mine I can send it. Randy ----------------------------------------------------------------- ;redcode-94x ;name Porch Swing + ;kill Porch Swing ;Author Randy Graham ;assert 1 ;strategy Original Porch Swing (80% bomb/scan w/multi-pass clear) ;strategy with some tweaking, optimizations and slightly changed clear ;strategy + use decoy, longer run (almost 2000 bomb/scans) before clear MOVETO equ (decoy+1795) decoy dat.f 0, 0 move1 mov.i }first, >first mov.i }first, >first mov.i }first, >first mov.i }first, >first first mov.i gate, MOVETO filler mov.i decoy, first move2 mov.i }second, >second for 8 mov.i }second, >second rof second mov.i adder, MOVETO+(adder-gate) start jmp.a second+MOVETO+(adder-gate)+1, 0 STEP equ 12 EXTRA equ 4 DJNOFF equ (-430+EXTRA) gate dat.f #site, sneer-STEP+1 dat2 dat.f #2, step-gate+5+EXTRA dat1 dat.f #1, step-gate+5+EXTRA site2 spl.a #2, step-gate+5+EXTRA site spl.a #3, step-gate+5+EXTRA dat.f 0, 0 dat.f 0, 0 dat.f 0, 0 dat.f 0, 0 adder sub.f sweeper, sneer hithigh mov.i step, *sneer hitlow mov.i step, @sneer sneer sne.i @gate+STEP*6-1+EXTRA, *gate+STEP*3+EXTRA ;so we bomb step looper djn.b adder, gate swinger djn.f mover, {gate-10 step dat.f 1, }1 dat.f #1, *1 ;40 dat.f *1, >1 dat.f @1, #1 dat.f $1, *1 dat.f >1, {1 dat.f *1, }1 dat.f #1, {1 dat.f {1, *1 dat.f {1, <1 dat.f @1, }1 dat.f }1, >1 ;50 dat.f }1, @1 dat.f *1, >1 dat.f {1, >1 dat.f #1, <1 dat.f *1, $1 dat.f $1, }1 dat.f @1, {1 dat.f *1, >1 dat.f {1, <1 dat.f {1, @1 ;60 dat.f $1, *1 dat.f }1, @1 dat.f @1, <1 dat.f <1, #1 dat.f >1, {1 dat.f @1, $1 dat.f }1, >1 dat.f *1, #1 dat.f #1, @1 dat.f }1, {1 ;70 dat.f >1, }1 dat.f #1, *1 dat.f *1, >1 dat.f @1, #1 dat.f $1, *1 dat.f <1, >1 dat.f >1, {1 dat.f *1, }1 dat.f {1, *1 dat.f {1, <1 ;80 dat.f @1, }1 dat.f }1, >1 dat.f #1, #1 dat.f }1, }1 dat.f <1, {1 dat.f {1, >1 dat.f *1, $1 dat.f $1, }1 dat.f @1, {1 dat.f {1, <1 ;90 dat.f {1, @1 dat.f $1, *1 dat.f }1, @1 dat.f @1, <1 dat.f <1, #1 dat.f >1, {1 dat.f @1, $1 dat.f 0, 0 dat.f $1, }1 ;end hithigh end move1