CRE: Corewars Redcode Evolver

Welcome to the CRE website. CRE, which stands for Corewars Redcode Evolver, is an open-source program that automatically generates programs for the game Corewars by using Charles Darwin's theories on natural selection. When you start CRE, here's what happens:

  1. A population of warriors is created by randomly selecting instructions
  2. Each warrior's fitness is tested by battling with other warriors in the population
  3. The fittest warriors reproduce and replace less fit warriors
  4. The previous two steps are repeated indefinitely

For more information on evolving Corewars programs, visit

The current stable version of CRE is 1.1. Version 1.2 is in beta stage, and version 2.0 is under development.