From news-rocq.inria.fr!jussieu.fr!oleane!plug.news.pipex.net!pipex!weld.news.pipex.net!pipex!rail.news.pipex.net!pipex!tube.news.pipex.net!pipex!lade.news.pipex.net!pipex!tank.news.pipex.net!pipex!newsfeed.internetmci.com!uwm.edu!msunews!mooredav Tue Apr 9 11:20:33 1996 Article: 4716 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!oleane!plug.news.pipex.net!pipex!weld.news.pipex.net!pipex!rail.news.pipex.net!pipex!tube.news.pipex.net!pipex!lade.news.pipex.net!pipex!tank.news.pipex.net!pipex!newsfeed.internetmci.com!uwm.edu!msunews!mooredav From: mooredav@cps.msu.edu (David Matthew Moore) Newsgroups: rec.games.corewar Subject: Stasis Date: 9 Apr 1996 00:09:57 GMT Organization: Michigan State University Lines: 41 Message-ID: <4kc9sl$o0s@msunews.cl.msu.edu> NNTP-Posting-Host: arctic.cps.msu.edu X-Newsreader: TIN [version 1.2 PL2] Here is the code for Stasis, exactly as it appears on the standard koth. The major feature of Stasis is its resistance to decrement-by-one attacks. The jmz at the bottom of the loop serves as an error detection mechanism for the scanner. If the locations "jb," "start," or "safe" are decremented, or if it is overrun by a stream of decrements, then it will usually fall into an early core-clear. If "scan" is decremented, it will complete its scan/stun pass through the core and then stun itself. Stasis loses little or no functionality if anything else is decremented. This design is only effective against standard 88 warriors; having both fields decremented is difficult to tolerate. The stun is not very thorough, so a good replicator can sometimes beat it (about 20% of the time), but hopefully this design will give it more wins versus the stones which gain their "faster-than-c" speed from decrements. ;redcode ;name Stasis ;author David Moore ;strategy b-field scanner version 3 ;assert CORESIZE==8000 ;password [censored by Planar] ;kill Stasis ival equ 652 gate equ -15 cc dat < gate, < gate jb jmn -1, #0 scan mov stun, < (targ+ival+1) main add #(ival+1), @safe start jmz main,