Article 690 of rec.games.corewar: From: Scott_-_Nelson@cup.portal.com Newsgroups: rec.games.corewar Subject: warriors Message-ID: <56723@cup.portal.com> Date: Wed, 1 Apr 92 01:28:32 PST Organization: The Portal System (TM) Lines: 34 Yet another warrior from my collection, Scissors 88. Scissors 88 is the first slaver-type program I wrote which uses the 'double add' strategy (which only became possible under the '88 standards) Scissors 88 made it to the top of the hill, but was quickly pushed off. ----- cut ----- ;redcode ;name scissors88 ;author Scott Nelson ;strategy capture the enemy and put him to work. ; ;main code loop ; loop add s, ptr ;double add makes ptr both jump and point mov ptr, @ptr ;move the jmp to the right place jmp loop ;Tiny, isn't it? ptr jmp pit s dat #5084, #-5084 ; ;Slave pit ; wptr dat #loop p dat #1 jmp pit pit mov p, Newsgroups: rec.games.corewar Subject: Newbie.. Date: Sat, 19 Jan 2002 00:54:13 +0530 Lines: 53 Message-ID: NNTP-Posting-Host: 203.200.95.130 Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1011381250 31016083 203.200.95.130 (16 [108900]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Xref: news-rocq rec.games.corewar:13417 Hello, I am totally new to this wonderful exciting community. I have downloaded the pMars, but I don't any logic as to how to write program. How is a program decided? Are there any rules that change for each game, or do they remain the same -- kill the execution of the opponent program at every cost. How do I go starting it? Going through the archives, the first program that I went through dates back to '92 (included below). The comments read things like "enemy falls in here" etc. How do I come to know about it? The memory - how does the distribution happen? Is "0" the location for my first line of the code? I am totally lost. -- Cheers, Gaurav Vaish http://mastergaurav.virtualave.net http://calendar.yahoo.com/mastergaurav --------------------------------- ----- cut ----- ;redcode ;name scissors88 ;author Scott Nelson ;strategy capture the enemy and put him to work. ; ;main code loop ; loop add s, ptr ;double add makes ptr both jump and point mov ptr, @ptr ;move the jmp to the right place jmp loop ;Tiny, isn't it? ptr jmp pit s dat #5084, #-5084 ; ;Slave pit ; wptr dat #loop p dat #1 jmp pit pit mov p,