From news-rocq.inria.fr!jussieu.fr!fu-berlin.de!newsfeed.nacamar.de!rill.news.pipex.net!pipex!bore.news.pipex.net!pipex!not-for-mail Mon Apr 27 11:44:43 1998 Article: 8919 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!fu-berlin.de!newsfeed.nacamar.de!rill.news.pipex.net!pipex!bore.news.pipex.net!pipex!not-for-mail From: "Ian Oversby" Newsgroups: rec.games.corewar Subject: Newt Date: Sun, 26 Apr 1998 19:41:19 +0100 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Lines: 179 Message-ID: <6hvv4e$2k7$1@plug.news.pipex.net> NNTP-Posting-Host: userj262.uk.uudial.com X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 I am sorry for waiting so long to publish this. There are so many versions of Newt/Quicken on my hard-drive but I think this is fairly similiar to the hill version. I reordered the Q^2 scan for the hill version, this one is simply copied from Gigolo I think. Anyway, the warrior is very similar to previous published code - just Impish with a Q^2 scan tacked on the front. Impish is booted away when the scan is finished. I made some modifications to Impish and released it to the hill without the Q^2 as Impish v0.3. It scored a few points better than the older version. The major changes are to the imp launcher which now colours core. The imp is also seperated from the launcher which seems to help a little against some scanners. I tried to put the stone in the middle of two of the imp streams as I suspected that may help against one-shots. In the stone, the step is altered and the the gate is placed back a little from the stone. The dclear bomb now has an a-field of <5335 as this is supposed to be good against 3 point imps. From tests, I think <2667 works better. Ian ;redcode-94 test ;name Newt ;author Ian Oversby ;strategy Q^2 -> Imp/Stone ;assert 1 gate1 equ (init-7-dist) pat equ 3315 sval equ (ipos+5500) ival equ (sval-2500) dist equ 3 impy equ (imp+sep) sep equ 1200 st equ 2667 QB EQU (start+550) QS EQU (QD*2) QD EQU 100 GAP EQU 12 REP EQU 8 REP2 EQU 2 datz EQU (table-3) dat 10*QS, 2*QS ; can get 21 values from this table table: dat 4*QS, 1*QS ; and can also use the initial value dat 23*QS, 3*QS ; of fnd qinc: spl #GAP,-GAP tab: add.a table,table slow: add.a @tab,fnd fast: add.ba *tab,@slow which: sne.i datz,*fnd add.a #QD,fnd mov.i datone,*fnd add.ab fnd,fnd fnd: mov.i QB,GAP/2 add.f qinc,fnd mov.i datone,*fnd djn.b fnd,#REP jmp boot,}QS*13 start: ; WHICH seq.i QB+QS*0,QB+QS*0+QD jmp which,}QB+QS*0+QD/2 ; FAST seq.i QB+QS*1,QB+QS*1+QD jmp fast,}QB+QS*1+QD/2 seq.i QB+QS*13,QB+QS*13+QD jmp fast,{fast seq.i QB+QS*2,QB+QS*2+QD jmp fast,{tab seq.i QB+QS*3,QB+QS*3+QD jmp fast,}tab ; SLOW seq.i QB+QS*4,QB+QS*4+QD jmp >fast,}QB+QS*4+QD/2 seq.i QB+QS*5,QB+QS*5+QD jmp slow,}QB+QS*5+QD/2 seq.i QB+QS*6,QB+QS*6+QD jmp slow,{tab seq.i QB+QS*7,QB+QS*7+QD jmp slow,}tab seq.i QB+QS*10,QB+QS*10+QD jmp >fast,fast,>tab seq.i QB+QS*24,QB+QS*24+QD jmp slow,>tab seq.i QB+QS*17,QB+QS*17+QD jmp slow,{fast ; TAB seq.i QB+QS*8,QB+QS*8+QD jmp gate1 last DJN.F -1, >gate1 spos DAT.F $0, $0 ;;--------------------- Boot the imp/launch ------------------------- iboot MOV.I 200 spin SPL.B #st+1, >prime prime MOV.I impy, impy ADD.F spin, jump jump JMP.B impy-st-1, <-535 imp MOV.I #st, *0 ipos DAT.F $0, $0 for 10 DAT.F $0, $0 rof ;;------------------------------------------------------------------- end start