From news-rocq.inria.fr!news2.fnet.fr!julienas!EU.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!newsrelay.iastate.edu!dunix.drake.edu!acad.drake.edu!pk6811s Sat Jun 18 16:40:35 1994 Article: 950 of rec.games.corewar Path: news-rocq.inria.fr!news2.fnet.fr!julienas!EU.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!newsrelay.iastate.edu!dunix.drake.edu!acad.drake.edu!pk6811s From: pk6811s@acad.drake.edu Newsgroups: rec.games.corewar Subject: Re: One-line DJN vs. '94 Hill Date: 16 Jun 94 23:04:05 CST Organization: Drake University, Des Moines, Iowa Lines: 92 Message-ID: <1994Jun16.230405.1@acad.drake.edu> References: <1994Jun16.185211.3565@llyene.jpl.nasa.gov> NNTP-Posting-Host: acad.drake.edu In article <> jlayland@kilroy.jpl.nasa.gov (James Layland) writes: > After seeing Karl Lewin's post, I submitted a one-line warrior to the hill: > djn.f #55, <-55 ;numbers chosen for no good reason > > In case anyone but me was curious, here are the results. Clearly, the > DJN can not kill anything which has a SPL/JMP/DJN #xx instruction. It > is a perfect gate, so can not be killed by an imp. It is small enough ^^^^^^^^^^^^^^^^^^^^^^^^^^^ If I read your table correctly, it looks like Cannonade's gate-busting technique worked though :-) > that it is likely to survive many bombing runs which are not followed > by a core clear. Scanners are obvious candidates to succumb to this, > and the DJN wins roughly 50% against the 3 scanners on the hill. > However, it also does fairly well against 5 other warriors, including > a couple gate-busting spirals, a quickscan/stone, a vampire, and (as > Paul mentioned) Torch. (I don't have code for Torch, but I assume it > can not be self-splitting and maintain reliable timing to use incendiary ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Actually Torch DOES self-split AND maintains reliable timing. I discovered that the instructions execute in reverse order. See listing below. Thanks for running this test. Gives one much to think about.... ;redcode-94 verbose ;name Torch t3 ;kill Torch ;author P.Kline ;strategy very rapid incendiary bombing, core-clear & gate ;strategy plus decoy & boot ;macro step equ 73 count equ 1500 boot1 equ 2150 boot2 equ 3508 start jmn.f copy2,@copy1 copy1 mov -step+1,<-step copy2 mov -step ; spl half of the incendiary in add #step+step,msm ; in,msm,msp execute in reverse order msm mov sm,>tgt-(step*count) msp mov sp,@msm ; bomb alternately with spl & mov tgt djn.f in,>3157 ; bombed with spl to start clear clr mov gate,<-13 cp djn.f clr,>3 copyf dat #0 for 31 mov.i #sp,2667 rof sm mov @0,>step ; mov half of the incendiary for 9 mov.i #sp,2667 rof end start Paul Kline @c@ pk6811s@acad.drake.edu - ignorance exceeded only by inquisitance -