Newsgroups: rec.games.corewar Path: news-rocq.inria.fr!univ-lyon1.fr!pasteur.fr!jussieu.fr!news.sri.ucl.ac.be!news.belnet.be!news.rediris.es!scsing.switch.ch!swsbe6.switch.ch!surfnet.nl!news.nic.surfnet.nl!howland.reston.ans.net!newsfeed.internetmci.com!tank.news.pipex.net!pipex!peer-news.britain.eu.net!newsfeed.ed.ac.uk!hwcee!ceeih From: ceeih@cee.hw.ac.uk (Iain Hogg) Subject: Help with beginner warrior Message-ID: Sender: news@cee.hw.ac.uk (News Administrator) Organization: Dept of Computing & Electrical Engineering, Heriot-Watt University, Scotland Date: Wed, 28 Feb 1996 11:06:49 GMT Lines: 49 Here is a warrior I have written which I feel should be doing better than it is (I have got it onto the beginner hill briefly): ;name A-Cluster v2.06 ;author Iain Hogg ;strategy Drops coreclears through core ;assert CORESIZE==8000 ;kill A-Cluster ORG start step EQU 200 killa MOV.I $-1, $10 killb JMP $-1, >-1 start MOV.I $killa, @targeta SPL @targeta, >targeta MOV.I $killb, @targeta MOV.I $killa, @targetb SPL @targetb, >targetb MOV.I $killb, @targetb ADD #step-2, $targetb SUB #(step+2), $targeta JMP start targeta DAT $0, #-step targetb DAT $0, #step The program starts by copying the coreclear (lines killa and killb) to postitions #step above and below the program and splitting to them. It then adds/subs #step to the position pointers (targeta and target b) and returns to the start of the loop). Any help with this program would be greatly appreciated. A few other questions: I understand the paper/stone/scissors analogy, but what is pspace? I have noticed references to warriors switching between programs depending on their losses - how can this be found out from within the program? And does anyone know of a site where the unix pmars can be ftped from other than ftp.csua.berkeley.edu? And on the point of beginners trying to understand corewar, personally I only began to get the hang of it after reading through chapters 1 and 2 of Steven Morrell's First Corewar Book - the other material (tutorials, icsws draft) was too technical at first. -- Iain Hogg : WWW: http://www.cee.hw.ac.uk/~ceeih ceeih@cee.hw.ac.uk : Home of the UK National Lottery Predictor! .........Segmentation Fault - All bananas have escaped.........