Article 793 of rec.games.corewar: Newsgroups: rec.games.corewar From: t-jcisek@microsoft.com (Julius Cisek) Subject: Charon v2.0 Message-ID: <1992Apr30.192529.22277@microsoft.com> Date: 30 Apr 92 19:25:29 GMT Organization: Microsoft Corp. Lines: 54 By the way, PitTrap survived 129 successful challenges through its many versions. Here is Charon v2.0 which has been in the top 10 of the Hill for several days, even reaching 1st a couple of times. Charon scans with a distance of 1/2 core (this doesn't work against programs that mirror themselves, but there doesn't seem to be too many of those). When it finds code, it bombs it with a SPL 0, JMP -1 combination which effectively shuts the enemy down. He counts down during his search and starts a clear core routine when the counter is down to zero: ;redcode verbose ;name Charon v2.0 ;author J.Cisek ;strategy creation date 4/11/92 ;strategy cmp scan, spl trap, clear core, etc. ;strategy v1.1 4/14/92 improved trap [reversed in v1.3] ;strategy v1.2 4/16/92 improved clear core routine ;strategy v1.3 4/21/92 original trap, optimal step, smaller code ;strategy v2.0 4/22/92 total code overhaul ;strategy mod 3 cmp scan with optimal step, new deadly trap START equ 1581 STEP equ 1581 HALF equ 4000 COUNT equ 1333 target cmp START, START+HALF ;this must be first for SLT to work counter jmp gotem, #COUNT ;also used as counter search add steps, target ;start new search here djn target, counter ;countdown to clear clear mov bomb, __| /- O O idiot!" Redmond, WA 98052 \X/ | U| \|