From news-rocq.inria.fr!univ-lyon1.fr!in2p3.fr!oleane!tank.news.pipex.net!pipex!newsfeed.internetmci.com!in2.uu.net!news.new-york.net!news.stormking.com!d91andiv@und.ida.liu.se Wed Mar 20 11:42:31 1996 Article: 4425 of rec.games.corewar Path: news-rocq.inria.fr!univ-lyon1.fr!in2p3.fr!oleane!tank.news.pipex.net!pipex!newsfeed.internetmci.com!in2.uu.net!news.new-york.net!news.stormking.com!d91andiv@und.ida.liu.se From: Anders Ivner Newsgroups: rec.games.corewar Subject: Re: Handshaking... Date: 18 Mar 1996 07:18:36 -0500 Organization: Storm King Ind. Inc. Lines: 51 Sender: server@news.stormking.com Distribution: world Message-ID: <9603181114.AA15604@su3-3.ida.liu.se> Reply-To: d91andiv@und.ida.liu.se NNTP-Posting-Host: valhalla.stormking.com Originator: corewar-l@stormking.com > You may not remember, but I posted something similar in r.g.c about > 6 months ago. I had developed a handshake that split wins so that > each warrior scored 150 against all the other copies of itself. > > I mentioned that this could be used to effectively 'take over' the Hill. > > I never did it because I was so certain it would work... but it would > be highly artificial and stupid. > > Just one more reason to ban the use of PINs on the Hills. > (And to get rid of those STUPID STUPID STUPID self-fights.) > > -john- Not that PIN's are needed to do this... this is the one I developed in case I ever find a good use for it. Actually I think it would be kind of fun, all warriors on the hill scoring 150 against each other, exept those that can score higher anyway. /Anders ;redcode-94 ;name handshake ;author Anders Ivner ;assert (CORESIZE == 8000) ;strategy give up every second round RES equ 0 HS equ 55 F equ 17 org res res ldp #RES, #res hs ldp #HS, #hs seq #-1, res ; - first? sne #F, hs ; not first - handshake? sne #0, res ; handshake or first - lost? jmp nohs ; lost or (not hs and not f) - ;(won and handshake) or first stp #F, #HS dat 0,0 ;lost or (not handshake and not first) nohs stp #0, #HS ;strategy if opponent doesn't cooperate goes here end