Path: ibmpcug!gwen.pcug.co.uk!dish.news.pipex.net!pipex!newsfeed.internetmci.com!news.sprintlink.net!howland.reston.ans.net!swrinde!emory!nntp.msstate.edu!nntp.memphis.edu!nntp.rhodes.edu!hal.mathcs.rhodes.edu!graham Newsgroups: rec.games.corewar Subject: Illusion Message-ID: <1995Jul18.115642.2806@rhodes> From: graham@hal.mathcs.rhodes.edu (Randy Graham) Date: 18 Jul 95 11:56:41 -0500 Nntp-Posting-Host: hal.mathcs.rhodes.edu X-Newsreader: TIN [version 1.2 PL2] Lines: 37 Just thought I'd post this quickly. Paul's multipass coreclear got me thinking back to on I did in '88 code when I first was learning. I pulled out this old b-scanner, and changed from b-scanning carpet bomber to a one shot b-scanner with a spl/spl/ perpetual dat core clear. This is over the old scan/bomb -> spl/dat core clear. The old version never made it above 10th on the beginner's hill. This one (still in all '88 code) made the top 10 on the '94 draft hill. I figured someone could make use of this (the spl/spl/dat... took a while to figure out). Oh yeah, the '94 version now sits in the top 5. It is 2 lines shorter, is an f-scanner, and does multipass spl/spl/perpetual dat forward core-clear (but that is left as an exercise for the reader). Randy -------------------------------------------------- ;redcode ;author Randy Graham ;name Illusion ;kill Illusion ;assert 1 ;strategy '88 code only b-scanner with spl/spl/dat/dat coreclear OPT equ 3044 sweep3 dat <2667, #-10 ;<2667 added 100 points vs. blue funk dat #0, #0 ;danger adder add #OPT, seat check jmz adder, @seat setup add seat, site2 seat spl 0, #OPT ;danger clean mov @site1, From: graham@hal.mathcs.rhodes.edu (Randy Graham) Date: 21 Jul 95 21:52:07 -0500 References: <1995Jul14.162510.2805@rhodes> <190@arbroath.win-uk.net> Nntp-Posting-Host: hal.mathcs.rhodes.edu X-Newsreader: TIN [version 1.2 PL2] Lines: 41 Derek Ross (rossd@arbroath.win-uk.net) wrote: : RG> Great! Well, as you saw in my posting of Illusion, I have found : a workable multi-pass spl/spl/dat... clear that works. : Here are two methods I used to implement multipass core clears. As : Paul suggests I based the '88 one on his code fragment. I haven't : received the post of Illusion yet so I don't know if it's more : efficent or not compared to the code you designed, Randy. For those who missed it, here is '88 Illusion again. This one made the top ten on the '94 Draft hill, but was replaced by the more efficient Illusion '94 (2 lines shorter, same scan pattern, forward instead of backwards clear). ;redcode ;author Randy Graham ;name Illusion ;kill Illusion ;assert 1 ;strategy '88 code only b-scanner with spl/spl/dat/dat coreclear OPT equ 3044 sweep3 dat <2667, #-10 dat #0, #0 ;danger adder add #OPT, seat check jmz adder, @seat setup add seat, site2 seat spl 0, #OPT ;danger clean mov @site1,