2009 looks set to be the year of the evolver with 5 new evolvers to date. The latest offering is Christian 'Fizmo' Schmidt's Maezumo, the Corewar Evolver with a Twist.Wednesday, 8 July 2009
Maezumo: The Corewar Evolver with a Twist
2009 looks set to be the year of the evolver with 5 new evolvers to date. The latest offering is Christian 'Fizmo' Schmidt's Maezumo, the Corewar Evolver with a Twist.Monday, 6 July 2009
A New Arms Race, the Tiny Evolvers
- Terry Newton: Terry is the evolver guru having previously written three evolvers, Fizzle, REBS and Redmaker. Terry has three new tiny evolvers, JB, SEWAX and LCE. At least two of these have produced nano warriors that entered the hill.
- John Metcalf: John is a hand-coder who recently got tempted by the dark side of Corewar! John has published two versions of his tiny Corewar evolver, TEV. Both TEV0 and TEV12 have created warriors which entered the nano hill.
Saturday, 2 May 2009
Monday, 30 March 2009
March Update: What's New in Corewar?
Sunday, 1 March 2009
Redcode Forth
Redcode Forth is an interpreter for a 36 word subset of the Forth programming language. I don't know much about Forth, but fortunately the interpreter is supplied with a summary of the instruction set and a step-by-step example.The interpreter uses a new Redcode instruction to display text, sts. I wonder if John is also planning to support ARES which has a different system for i/o?
Friday, 30 January 2009
January Update: What's New in Corewar?
- Thoughts on Corewar...: Brainf*** Interpreter
- :Random: Brainf*** interpreter in Redcode
- Thoughts on Corewar...: Interpreter for RSSB...
- :Random: SUBLEQ interpreter in Redcode
- Thoughts on Corewar...: Call / Return Macros
- Cover Scans of The Core War Newsletter
- The Corewar DynaHill
- '88 Koenigstuhl: Utterer '88
- '88 Koenigstuhl: Moonwipe
- '88 Koenigstuhl: Galling
Friday, 16 January 2009
The DynaHill at Corewar.Info
Towards the end of last week, Christian Schmidt announced a new Corewar hill, hosted at corewar.info. The Corewar DynaHill is build around a different concept to KOTH and SAL.;redcode declarations.Thursday, 1 January 2009
Monday, 8 December 2008
Corewar: Hostile Programming
Corewar is a game from the 1980's, played between computer programs written in Redcode, a language similar to assembly. The programmers design their battle programs to remove opponents from the memory of the MARS virtual computer by any means possible.
Some of the simpler techniques include blindly overwriting memory, searching for the opponent or spawning off new processes. These are commonly known as stone, scissors, paper after the popular playground game. Stone usually wins against scissors, scissors normally defeat paper, and paper mostly beats stone.
Here's an example of a typical Corewar program:
org wipe
step equ 5
first equ bomb-10
bomb:mov.i #1, -1
ptr: sub #step, #first
wipe:jmz.f ptr, @ptr
mov bomb, >ptr
djn.f wipe, {ptr-5
end
This simple example of scissors once held a 20 point lead over it's rivals. The first instruction is never executed, it's the bomb used to overwrite opponents. The next two instructions form a loop which looks through memory for an opponent, and the final two instructions actually overwrite it.
Corewar is still going strong, and celebrates it's 25th anniversary in 2009. If you'd like to discover more about Corewar, here are the top resources:
- The Beginner's Guide to Redcode will teach you the language of Corewar
- pMARS is a portable implementation of the Corewar virtual machine
- Corewar Tutorials exist on virtually every aspect of the game
- Koenigstuhl is an archive of thousands of published Corewar programs
- SAL organises a number of on-going king of the hill tournaments
- sfghoul and impomatic report the latest Corewar news on their blogs
- #corewars is the official Corewar discussion channel, hosted by irc.freenode.net
What are your experiences with Corewar, have you ever had any success?

Corewar: Hostile Programming is a guest post written by John Metcalf.
Wednesday, 19 November 2008
nanoWarrior #03
Wednesday, 12 November 2008
Neo's Mini Challenge - Roy's Idea
Lets try to find a solution for this gate:
djn.f #0,>-5
(I haven't got one yet)
imp mov.i #4, *1By adding a loop, I managed to reduce the initial size to two instructions:
mov.i #4, *1
mov.i #4, *1
mov.i #4, *1
mov.i #4, *1
imp mov.i #4, *1
djn.a imp, #0
Sunday, 9 November 2008
Thoughts on Corewar...

- Covers advanced programming topics
- The feeds make it easy to keep up-to-date
- More comments on the code would be handy
Friday, 31 October 2008
tiny Twilight
;redcode-tiny
;name Twilight
;author S.Fernandes
;strategy oneshot v1
;assert CORESIZE == 800
; entered the hill on 12 Mar 2006 in 24th place
; still on the hill on 31 Oct 2008, age 79, 10th place
org scan
step equ 24
gap equ 6
first equ loop+step*5
ptr dat first+gap-1 , first-1
dat 0 , 0
x dat 1 , 9
clr spl #350 , 12
mov *x , >ptr
mov *x , >ptr
djn.f clr+1 , }clr
for 2
dat 0 , 0
rof
loop add inc , ptr
scan sne *ptr , @ptr
djn.f loop , *ptr
djn.f clr , ptr
inc dat step , step
end
Wednesday, 22 October 2008
Neo's Mini Challenge - The Results
Neo and I entered the following code:
mov }0, }1
Ilmari and John entered this:
mov.i #1, *1
While Roy and Rashnok used a variation on the above:
mov.i #1, }1
Finally, mjp entered code which expands to a 6 line imp:
mov 2, @1
djn -1, #6
mov 0, >6
Roy suggested an interesting alternative which Neo will hopefully adopt as the next challenge.
Sunday, 19 October 2008
Neo's Mini Challenge
gate: jmp 0,<-5
end gate
The aim is to tie 100% of the time with the shortest possible code. Good luck to everyone taking part.
Saturday, 12 July 2008
Miz's Corewar Page

- Monowire's story
- A few comments would make the code easier to understand
Wednesday, 2 July 2008
Will Varfar's Corewar Page
Will Varfar has a webpage devoted to Corewar at http://redcoder.sourceforge.net and shares some of his experiences implementing and testing Redcode simulators and evolvers.Will's Which MARS report gives a thorough examination of different simulators, including some observations on their inner workings. The report concentrates on 6 open source MARS. It would be interesting to see the closed source simulators included in the comparison.
Species is Will's Redcode evolver, which attempts to improve on past evolvers with the introduction of species and chromosomes. Source code and a Windows .exe are available to download.
Some interesting statistics are published on Will's page. Will has gathered data about the frequency of opcode execution during a round robin of over 400k battles. Taking this one step further, graphs have been generated showing how the opcode frequency changes during a battle.
This data has been used to automatically divide the warriors into groups based on their execution fingerprint. It might be interesting to compare the results to those of Joonas's self organising maps.
Finally, there are a couple of article in which Will discusses the development of his entries for Neo's Mini Challenge #3 and Redcoder's Frenzy round 9.
What I liked:
- In my opinion, Will has the most visually attractive Corewar site
- 100% original content
- the 3d graph of Optimax benchmark stats is a bit tricky to interpret
Thursday, 26 June 2008
Welcome sh0newars

A few days ago N. Ristic aka sh0ne joined the Corewar enthusiasts in the #corewars IRC channel and not only started learning the ropes, but created a website which will hopefully document his rise to Corewar fame. sh0ne's page is at http://sites.google.com/site/sh0newars and is definitely worth keeping an eye on over the next few weeks.
Tuesday, 17 June 2008
Łukasz Grabuń's Book of Stones

add.ab {0,}0 in preference to add.ab -1,-1 are not mentioned.- The Book of Stones
- The chapter about Carbonite doesn't mention a couple of important points
Thursday, 12 June 2008
Tales from the Digital Wilderness

Tales from the Digital Wilderness is John Metcalf's Redcode programming blog, hosted at http://impomatic.blogspot.com. Emphasis is given to implementing real algorithms in Redcode such as sorting and seaching.
John uses a standard Blogger template, with a post archive and a selection of useful Corewar links in the sidebar. Usually there are 3 to 4 posts per month.
- A unique concept
- The code is well written
- For the more complex code, a detailed description would be nice
- A few comments would make the code easier to understand
