- Core War
- Evolving
This preservation of favourable variations and the rejection of injurious variations, I call Natural Selection, or the Survival of the Fittest.”
Darwin, Charles On the Origin of Species by Means of Natural Selection 5th edition 1869.
An evolver is a program designed to use genetic programming to evolve warriors for the game of Core War. The evolver starts by seeding a population with randomly generated warriors. The fitness of each is measured, either against a benchmark or against its peers. One or more of the best-performing warriors are chosen as parents. Crossover and mutation are used to create several offspring, which replace some of the lower-scoring warriors. This process is repeated, allowing the fitness of the population to improve.
Software
- Digital Red Queen (2026) is a minimalistic implementation of DRQ from the paper Digital Red Queen: Adversarial Program Evolution in Core War with LLMs.
- Terry Newton has created a number of successful evolvers including RedMaker (1998), Fizzle (2003), REBS (2005), RedMixer (2009), MEVO (2009), YabEvolver (2023), and several small evolvers.
- Python Core War Evolver was written in 2022 by RainRat and evolved his entries to the Core War Global Masters Tournament.
- ArmsRace is an unpublished evolver written by inversed in 2020.
- feruscore is an evolver in Rust, published in 2018 in Hands-On Concurrency with Rust by Brian L Troutwine.
- Maezumo is an evolver written by Christian Schmidt in 2009, including hint modes to evolve paper, scissors and stone.
- TEV12 is a tiny GW-BASIC evolver written by John Metcalf in 2009. TEV v0 is also available.
- Origin is a Core War evolver written in Java by Roy van Rijn in 2007.
- RedShift is an unpublished evolver written by inversed in 2007.
- Java CoreWars Evolver was written by Miha Vitorovic in 2005–2014.
- Corewars Redcode Evolver is Loren Jamison's evolver, written in 2004. The code is also available on GitHub.
- MicroGP is a general purpose tool for evolving assembly programs which successfully created warriors for the nano and tiny hills in 2004. µGP 2 & 3 are also available.
- CCAI is Barkley Vowk's distributed evolver which created the first successful warriors to enter the '94nop hill. Written in 2003.
- Species is a 2003 evolver developed by Will Varfar. The latest version is Species Blossom from 2007.
- Corewar evolver is a 2002 evolver written in Perl by John Everitt.
- Yace is an evolver written by Martin Ankerl in 2000. YaceReloaded is available on GitHub.
- Corewar Tribes is a Windows evolver from 1999, written by Linus Thorsell.
- RedRace is an evolver written by Dave Hillis in 1999. RedRace generated h1_36.red, the first evolved tournament winner.
- evolve.c is John Regehr's 1997 evolver using mutation, crossover, inversion, insertion and deletion. Evolved Ugly for the tiny hill.
- GA_Perl is a Perl evolver written by John K. Lewis in 1997.
- System 4 Genetic Algorithm Simulator (sys4) is a 1997 grid-based Perl evolver by George Lebl. Here's the sys4 manual.
- evol1 and evol2 are evolvers written by George Lebl in 1997.
- ga_war.c is a 1997 evolver written in C by Jason Boer, using a closed system with point mutation and insertion/deletion.
- RC94 Evolver is an unpublished evolver developed in VX-REXX for OS/2 by Karl Lewin in 1994.
Papers
- Digital Red Queen: Adversarial Program Evolution in Core War with LLMs is a 2026 paper on evolving Core War programs using a LLM, by Akarsh Kumar, Ryan Bahlous-Boldi, Prafull Sharma, Phillip Isola, Sebastian Risi, Yujin Tang, and David Ha.
- Implementation of a Genetic Algorithm to Simulate the Evolution of CoreWar Warriors Based on Fitness Values is a 2016 paper by Mohammad Ashraf Siddiquee and Vanessa Surjadidjaja.
- Using Core War to Simulate Evolution documents three experiments using RedMixer to evolve for the tiny hill and includes a detailed analysis of the source code. Written in 2009 by Terry Newton.
- Assimilated evolution: defeating new strategies by exploiting their predecessors was submitted to the 19th Belgian-Dutch Conference on Artificial Intelligence (BNAIC 2007) by Loren Roosendaal. The original DOC is also available.
- Evolving Warriors for the Nano Core by Ernesto Sanchez, Massimiliano Schillaci and Giovanni Squillero was presented at the 2006 IEEE Symposium on Computational Intelligence and Games.
- Evolving Assembly Programs: How Games Help Microprocessor Validation by F. Corno, E. Sanchez and G. Squillero was published in IEEE Transactions on Evolutionary Computation, 2005.
- An Evolutionary Approach Generates Human Competitive Corewar Programs by Barkley Vowk, Alexander (Sasha) Wait and Christian Schmidt was presented at the 2004 ALife IX conference.
- On The Evolution of Corewar Warriors by F. Corno, E. Sanchez and G. Squillero was submitted to the 2004 Congress on Evolutionary Computation.
- Exploiting Co-Evolution and a Modified Island Model to Climb the Core War Hill is a paper submitted to the 2003 Congress on Evolutionary Computation by F. Corno, E. Sanchez and G. Squillero.
- Evolutionary Programming to Optimize an Assembly Program is a paper submitted to the 2002 Congress on Evolutionary Computation by Brian Blaha and Don Wunsch.
- Comparison of Evolving Against Peers and Fixed Opponents Using Corewars by Jason Cooper and Chris Hinde is a poster paper from the 2002 Genetic and Evolutionary Computation Conference.
- The Garden: Evolving Warriors in Core Wars is a paper written in 2001 by David G. Andersen.
- Evolving Warriors by Linus Thorsell is an introduction to evolving warriors and Core War Tribes from 1999, using an island model, point mutation and single-point crossover.
- Evolving Core Warriors is a 1998 class project by Dave Hillis which used ga_war.c as a starting point.
- Using Genetic Algorithms to Evolve Core Warriors is John Regehr's slideshow from 1998.
- Learning By Simulating Evolution Using Corewars is a 1998 paper by Ryan Coleman, presenting the results of a project to use a modified ga_war.c to evolve for the tiny hill. Also available as plain text and as a PDF.
- Evolving Digital Warriors is a 1997 science fair project by Rhett Garber. The original RTF is also available.
- Core Wars Genetics: The Evolution of Predation (Evolving Predatory Behavior with Core Life) is a 1991 term paper by John Perry on evolving warriors, two of which entered ICWT90. An intro to GAs and earlier revisions in plain text and LaTeX are available.