Article 1821 of rec.games.corewar: Newsgroups: rec.games.corewar Path: hellgate.utah.edu!caen!uunet!vuse.vanderbilt.edu!stst From: stst@vuse.vanderbilt.edu (Stefan Strack) Subject: Agony 5.1 Message-ID: Sender: news@vuse.vanderbilt.edu Nntp-Posting-Host: necs Organization: Vanderbilt University School of Engineering, Nashville, TN, USA Date: Sat, 15 May 1993 16:16:59 GMT Lines: 139 I just realized that the last post of Agony (2.4b) dates almost a year back. Here is the code to Agony 5.1, which held place 1 in PK's push-off for three consecutive weeks. I just replaced 5.1 with 5.2 on the hill, but the only change is the scan constants which I adjusted to deal better with short warriors. New in version 5.x is the bootstrap. It benefits Agony especially, since it makes the scanner essentially 1 line shorter in the eye of other CMP-scanners during the initial phase of the battle: the 'bptr' line is left blank after bootstrap. The bootstrap code is positioned and fitted with "internal partial reflections" to avoid triggering Agony's own scan until late in the battle. I thank W.Mintardjo for letting me in on Medusa's development. (If you compare Medusa's to Agony's bombing routine, you'll notice that they are quite different) I lifted the idea of moving the "load the bomb counter" line ahead of the scan loop from him; this shortens the carpet by one. -Stefan (stst@vuse.vanderbilt.edu) ;redcode ;name Agony 5.1 ;kill Agony ;author Stefan Strack ;strategy Small-interval CMP scanner that bombs with a SPL 0 carpet. ;rem strategy Initial version: 4-7-92 ;rem strategy 2.0: smaller ;rem strategy 2.1: larger, but should tie less; changed scan constants ;rem strategy 2.2a: smaller ;rem strategy 2.3a: mutagenizes core ;rem strategy 2.4: smaller CMP interval, spends less time bombing ;rem strategy 2.4b: mutagenize constant optimized ;rem strategy 3.0: long scan with anti-imp constants (a la Charon v8.0+) ;rem strategy 3.1: zero bfield bombs again; more robust ;rem strategy 4.0: gating; shorter carpet ;rem strategy 4.1: tweaked constants ;rem strategy 4.2: ditto ;strategy 5.0: bootstrap with decoys (no reflections) ;strategy 5.1: smaller launch code; better placement -> scans own decoy later ;strategy Submitted: @date@ CDIST equ 13 IVAL equ 55 ;22 ;22 ;42 FIRST equ scan+OFFSET+IVAL OFFSET equ 110 DJNOFF equ 7657 ;7645 ;7691 DESTIN1 equ 2744 ;FIRST-scan-216+48+1-5115-1+5-89-54 DESTIN2 equ 2731 ;FIRST-scan-216+48+2-8-5116-1-89-54 boot cptr1 mov incr,DESTIN1 mov bomb+1,