Article 856 of rec.games.corewar: Newsgroups: rec.games.corewar Path: hellgate.utah.edu!cs.utexas.edu!uunet!microsoft!t-jcisek From: t-jcisek@microsoft.com (Julius Cisek) Subject: Re: ClaMP Message-ID: <1992May08.104331.27816@microsoft.com> Date: 08 May 92 10:43:31 GMT Organization: Microsoft Corporation References: <1992May6.141003.9324@samba.oit.unc.edu> Lines: 73 In article <1992May6.141003.9324@samba.oit.unc.edu> ajpierce@med.unc.edu (Andrew Pierce) writes: > Here is the source to ClaMP which is currently hovering around number 1 >or 2 on KotH. > I think that ClaMP is very similar to Agony, except that the different >core clear gives ClaMP an edge. Actually, ClaMP is almost exactly Charon 3.0 (Echo) just as Stefan and I suspected... Bombing with SPL 0, DJN -1 is essentially the same as bombing with SPL 0, JMP -1 (only one process will drop out every 8000 loops) The clear routine is a minor improvement. The definitive edge (and only REAL difference) over Charon is the fact that ClaMP is off-axis. Charon off-axis versions which both Stefan and I tried were failures. My hat's off to you, guy... Anyway, see for yourself, as here's Charon v3.0 (Echo): -- ;redcode verbose ;name Charon v3.0 (Echo) ;author J.Cisek & S.Strack (alphabetical order :) ;strategy creation date 4/11/92 ;strategy cmp scan, spl trap, clear core, etc. ;strategy v3.0 5/3/92 integrated with Stefan Strack's Echo ;strategy Stefan very cleverly rewrote Charon to be much smaller. STEP equ 1581 ;step value START equ search+STEP-3473 ;hit self eventually HALF equ 4000 ;set this to half the core search add steps, target ;turns into JMP -1, 0 eventually target cmp START, START+HALF ;axis-scan slt #switch-target+2, target ;don't hit self jmp search ;search at new location mov jump, @target ;set trap mov split, ;redcode verbose >;name ClaMP >;author Andy Pierce >;strategy small cmp scanner > >ret add offset,start >start cmp -50,-1 > slt #65,start >count djn ret,#2000 >hit mov bomb2,@start > mov bomb1, add next,start > jmn start,count >bomb1 spl 0,0 > mov 2,<1 >bomb2 djn -1,#-3 >next dat #-49,#-48 >offset dat #-98,#-98 If the above is not proof that there simply isn't much room left for originality, I don't know what is. -- Julius Andrew Cisek ,_, t-jcisek@microsoft.com "Joy!" /oo \ _.-. "Quiet, you bloated One Microsoft Way // <>__| /- O O idiot!" Redmond, WA 98052 \X/ | U| \|