Article 3209 of rec.games.corewar: Path: news.cs.utah.edu!cs.utexas.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!tonto.ksu.ksu.edu!not-for-mail From: hendric@ksu.ksu.edu (Richard Hendricks) Newsgroups: rec.games.corewar Subject: My second warrior to make it to the beginner's hill Date: 30 Sep 1994 09:48:28 -0500 Organization: Kansas State University Lines: 44 Message-ID: <36h8fs$kiv@tonto.ksu.ksu.edu> NNTP-Posting-Host: tonto.ksu.ksu.edu X-Newsreader: NN version 6.5.0 #1 (NOV) ;redcode-b verbose ;kill ;author Richard Hendricks ;name Sweeper, v5 ;strategy Basically, this program bootstraps itself 5000 cells away from its ;strategy decoy. Then it copies every 5th element onto the 6th, hopefully ;strategy hurting enemy code, while running a 3-point imp spiral. ;strategy thanks to myer, bremermr@sonata.cc.purdue.edu for the help! ;strategy All good ideas are his, all goof-ups mine! ;Scored 145 Ranked 9th. :) :) :) :) :) LOC EQU 4000 for 20 ;Decoy MOV 1,1 DAT #2667,<2667 rof start SPL #67,<-12 ;Start of actual bomber ADD -1,-13 ;The <'s maintains the gate MOV -3,<-14 DAT <-15,<-15 boot MOV start, start+LOC-2 ;This is the code to move the bomber MOV start+1, start+LOC-1 ;away from our decoy MOV start+2, start+LOC MOV start-1,boot ;This removes all references to the MOV start-1, boot+1 ;location we put our bomber MOV start-1, boot+2 SPL 2,<-1335 JMP start+LOC-2 ;This starts bomber execution MOV start-1, boot+10 ;This removes the reference in the JMP for 15 ;More decoy DAT <2667,#2667 MOV 1,1 rof end boot This is a simple bomber with a 75% effective imp gate (With the values stored in the gate used as the bomb pointer). Any questions, comments, etc welcome! -- Richard Hendricks, Kansas State University, Manhattan, KS "I'm an engineer, but that's ok, I work all night and sleep all day!" Computer Engineering, KSU Consultant hendric@ksu.ksu.edu