From news-rocq.inria.fr!jussieu.fr!oleane!news-feed.inet.tele.dk!bofh.vszbr.cz!rill.news.pipex.net!pipex!bore.news.pipex.net!pipex!not-for-mail Sat Apr 18 14:22:17 1998 Article: 8863 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!oleane!news-feed.inet.tele.dk!bofh.vszbr.cz!rill.news.pipex.net!pipex!bore.news.pipex.net!pipex!not-for-mail From: Robert Macrae Newsgroups: rec.games.corewar Subject: Re: My first good warrior?? Any advice? Date: Fri, 17 Apr 1998 18:57:21 -0700 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Lines: 41 Message-ID: <35380881.354A@dial.pipex.com> References: <1998041520431800.QAA20731@ladder03.news.aol.com> NNTP-Posting-Host: an105.du.pipex.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0 (Win95; I; 16bit) MTStahl wrote: > ;redcode-88 > ;name Trotsky Icepick > ;author Max Stahl > ;assert CORESIZE==8000 > > core DAT 0,0 > scan ADD #1,#0 > SEQ core,scan > DAT @scan This is very strange -- it looks as if you suicide every time? There is a lovely little DAT-scanner called Red Rain. I seem to have lost my copy but this shows the general idea -- it scans until it finds a nonzero word, copies a DAT 0,0 onto it and carries on. If I remember, the original used just this scheme, but with a mod-1 step so that it eventually bombed most words. ;redcode-94 ;name RedRain Derivative ;author Robert Macrae ;strategy Small, Dat-Bomer/Scanner after Red Rain. step equ 212 ; Mod 4 scan add.ab #step, #0 jmz.b scan, @scan mov -3, @scan jmp scan, 0 end -- Regards, Robert Macrae