Article 1430 of rec.games.corewar: From: gt7804b@prism.gatech.EDU (Wayne Edward Sheppard) Newsgroups: rec.games.corewar Subject: PLASMA scanner->replicator Message-ID: <73060@hydra.gatech.EDU> Date: 29 Oct 92 22:33:33 GMT Organization: Georgia Institute of Technology Lines: 41 Hello everyone. I bet you all are wondering how a scanner-replicator works. First of all, it is not doing both at the same time. It scans until it finds something. That gets bombed thoroughly. Now it switches to a replicator. This allows me to have a small target area for other scanners. But against bombers and imps, it doesn't take too long before I turn into a replicator. Yhis allows me to kill most bombers and tie the imps. There is a lot of room for improvement. For example you could use CMP scanning in the main scanning loop to find something quicker. Here's the code: ;redcode verbose ;name PLASMA 4 ;author Wayne Sheppard ;strategy Scanner-Replicator ;strategy Better killing Process ;kill PLASMA bomb equ start-1 ;this should point to dat 0 , 0 start add #3039,loc ;best increment size loc jmz start,-1 cmp #-1,@loc ;don't look at DJN trails slt #100,loc ;program length jmp start mov bomb,@loc ;bomb whatever I found cmp