May 26, 2018
Corewars Redcode Evolver
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
- A population of warriors is created by randomly selecting instructions.
- Each warrior’s fitness is tested by battling with other warriors in the population.
- The fittest warriors reproduce and replace less fit warriors.
- The previous two steps are repeated indefinitely.