From news-rocq.inria.fr!jussieu.fr!oleane!newspump.monmouth.com!newspeer.monmouth.com!uunet!in4.uu.net!binary.alaska.net!not-for-mail Thu Jun 25 11:27:36 1998 Article: 9239 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!oleane!newspump.monmouth.com!newspeer.monmouth.com!uunet!in4.uu.net!binary.alaska.net!not-for-mail Message-ID: <3591E184.525A@alaska.net> From: cgbean@alaska.net Reply-To: cgbean@alaska.net X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 Newsgroups: rec.games.corewar Subject: swarm Content-Type: multipart/mixed; boundary="------------5503FC1835" Lines: 104 Date: Thu, 25 Jun 1998 05:29:11 GMT NNTP-Posting-Host: 209.112.144.185 NNTP-Posting-Date: Wed, 24 Jun 1998 21:29:11 AKDT Organization: Internet Alaska Inc. -- http://www.alaska.net This is a multi-part message in MIME format. --------------5503FC1835 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I hesitate to bother the gurus who inhabit this newsgroup, but I believe it is nessacery, at least for one such as I... I also apologize for the WIERD first paragraph, but hey? What do I put? Anyways, I was wondering if I could get some help on a warrior (NOTICE: not review...help...=0) that has been giving be lotsa trouble... It's Swarm. It splits of to 4 core clears, and monitors them, replacing them when they are destroyed, and throwing out some spl 0/jmp -1 bombs in its not so spare time... At least, it's supposed to. The best version I have so far is Swarm6, which does sorta okay, but doesn't work as intended. Swarm5, my model warrior, does pathetic, but goes more along my intended lines, though obviously things need to be changed... So, I am looking for suggestions ( mostly for Swarm v. 5) on- 1. Regeneration. It doesn't work. I think I'm scanning the wrong place... 2. Surviving. My core clears, currently, hit the main body. I want to change that. Maybe I should tinker around with the constants... 3. Size. WAY to big...20 lines. HELP! 4. Anything else you can think of. Thanks for any help you can give. -WFB --------------5503FC1835 Content-Type: text/plain; charset=us-ascii; name="swarm5.red" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="swarm5.red" ;redcode-b ;name Swarm5 ;author WFB ;strategy Rough draft of the final version of Swarm ;assert CORESIZE==8000 start mov c1,>ptr mov c2,@ptr spl @ptr,<-2670 add step,ptr djn start,lc loop cmp lc add step,>ptr mov i1,>sptr mov i2,@sptr add sptr,sptr jmp loop,<-305 c1 mov -1,<-1 c2 jmp -1,<-305 i1 spl 0,<-6 i2 jmp -1,<3 lc dat #4,#4 ptr dat #1860,#1860 step dat #2000,#2000 sptr dat #35,#35 end start --------------5503FC1835 Content-Type: text/plain; charset=us-ascii; name="swarm6.red" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="swarm6.red" ;redcode-b ;name Swarm6 ;author WFB ;strategy Rough draft of the final version of Swarm ;strategy Apperantly, Swarm6 does better against stones than Swarm5, but worse ;strategy against paper and scissors. ;strategy wilkies rating of 58.92 ;assert CORESIZE==8000 start mov c1,>ptr mov c2,@ptr spl @ptr,<-2670 add step,ptr djn start,lc loop cmp lc add step,ptr mov i1,>sptr mov i2,@sptr add sptr,sptr jmp loop,<-305 c1 mov -1,<0 c2 jmp -1,<-305 i1 mov 1,>0 i2 spl -1,<-500 lc dat #4,#4 ptr dat #2000,#2000 step dat #1990,#1990 sptr dat #35,#35 end start --------------5503FC1835--