From news-rocq.inria.fr!jussieu.fr!uvsq.fr!nntp-out.monmouth.com!newspeer.monmouth.com!ais.net!uunet!in3.uu.net!binary.alaska.net!not-for-mail Mon May 18 17:35:48 1998 Article: 9044 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!uvsq.fr!nntp-out.monmouth.com!newspeer.monmouth.com!ais.net!uunet!in3.uu.net!binary.alaska.net!not-for-mail Message-ID: <355E3522.7D8D@alaska.net> From: cgbean@alaska.net Reply-To: cgbean@alaska.net X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 Newsgroups: rec.games.corewar Subject: more help...please? Content-Type: multipart/mixed; boundary="------------331976311FC" Lines: 57 Date: Sun, 17 May 1998 00:51:19 GMT NNTP-Posting-Host: anc-p45-77.alaska.net NNTP-Posting-Date: Sat, 16 May 1998 16:51:19 AKDT Organization: InternetAlaska This is a multi-part message in MIME format. --------------331976311FC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello all. First off, i'd appreciate it if someone would inform me whether or not my abundance of messages are getting annoying. They haven't been answered, though it may be 'cause i run every sentance together in all lower case, so I won't do that anymore. Anyways, I was wondering if someone could help me with another program that I've been trying to write. I guess a lot of you are too busy to help, but it would be nice if those who aren't would help me a little. Thanks anyways. Well, the program is called "tie-die". I basically thought that if I didn't win, it would be best to tie (duh...), so I incorpreted that philosiphy in my latest failure. I don't know what's wrong, except that I'm sure it's too slow. Basically, it MOV's a little line called "hide", that is just a JMP 0. It then splits off into two bombers, a DAT bomber, and a JMP bomber. The JMP is something like JMP 101,<1. The b-field is just to screw the enemy up as much as possible. I have 101 'cause the maximum length is usually 100 (right?) so it will probably JMP into the core, and onto a DAT. If not, my redundant little bomber throws DAT's where the JMP's point to, just to make sure. I'm not sure of the syntax at that point. If the bombers die, then hopefully the hide command will survive, and possibly an un-executed JMP or decremented command will destroy the enemy warrior. Also, the hide decrements an address, hopefully on an enemy. If not, the hide may survive, thus resulting in a tie. Well, thanks to whoever may respond to this message. Bye. -WFB --------------331976311FC Content-Type: text/plain; charset=us-ascii; name="tie-die.red" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tie-die.red" ;redcode-b ;name tie-die ;author WFB ;strategy bombs with jmp and dat. ;assert CORESIZE==8000 start: mov hide,-2997 spl bomber add #4,aimer mov bomb1,@aimer jmp-2 bomb1: jmp 101,<1 aimer: dat #0,#0 bomber: mov bomb2,@aimer+101 jmp -1 bomb2: dat #0,#0 hide: jmp hide,<5000 end start --------------331976311FC--