Article 2375 of rec.games.corewar: Newsgroups: rec.games.corewar Path: hellgate.utah.edu!peruvian.cs.utah.edu!bdthomse From: bdthomse%peruvian.cs.utah.edu@cs.utah.edu (Brant Thomsen) Subject: Fast Food v2.1 (Source) Date: 31 Dec 93 17:11:46 MST Message-ID: <1993Dec31.171146.19033@hellgate.utah.edu> Originator: bdthomse@peruvian.cs.utah.edu Organization: University of Utah CS Dept Fast Food is a standard vampire with a CMP scanning bomber tacked onto the front of it. The CMP scanning appears to have little effect against most programs, although it does help against large programs. It took some fiddling around to figure out how to have the scanner move a fang (JMP bomb to the pit) once it had found something. If the current '94 draft falls through, there are two things it can do that I have found "essential": post-increment, and the ability to move the B-field value of one instruction to another instruction without also affecting the second instruction's A-field value. This second ability would have made the scanner for Fast Food less confusing, and is essential for a couple of scanners I have been fiddling with. The vampire used in Fast Food is an exact copy of the one used in Distance 8.0. I found that by moving the pit closer to the vampire, I tended to do better against optimal stones. Like all of its ancestors, this version bombs a large chunk of the core before hitting itself, then destroys the pit, leaving only a "wimp" running. With the wimp as the only process, I can make it difficult to find me, and kill most imp-spirals that might remain after the core-clear. (Wimp: A JMP 0, <-x instruction. Starvation: When one program has used all of its processes, a SPL instruction cannot generate a new process, and will simply act like a JMP 1 instruction.) I've tried several variations on the vampire, but have yet to find one that does any better. ;redcode ;name Fast Food v2.1 ;author Brant D. Thomsen ;strategy Uses a CMP method similar to QuickFreeze, except ;strategy uses fangs (JMP to pit) to bomb with. ;strategy When done, falls through to a "dumb" vampire. ;strategy 2.0 : Uses different Vampire ;strategy Added boot-straping of vampire ;strategy 2.1 : Different imp-spiral protection ;strategy Submitted: @date@ ; EQUs for CMP bomber comp equ 281+39 ; Comparison distance cdist equ 189+26 ; Core division sdist equ 250 ; Distance from start for first comparison ; EQUs for vampire step equ 121 dist equ 4000 init equ step jsep equ 7 sep equ 1 wsep equ 2 wgate equ 11 mpit mov pit+3, pit+dist+3 mov pit+2,