Core War

lore

hackingprogramming

Kept in this browser · My desk

Core War is a programming game, described by A. K. Dewdney in Scientific American in May 1984, in which two programs written in an assembly-like language called Redcode share a circular memory and try to overwrite each other while a simulator called MARS runs them in turn.

Dewdney said the idea came from a story about a self-copying program, Creeper, and a second program, Reaper, written to delete it. His follow-up column of March 1985 reported that several hundred readers had asked for the guidelines to build a simulator, and printed a letter from two readers in Brescia, Italy, who had worked out a virus that would spread between Apple II floppy disks after reading the Italian edition of the column, and then decided neither to release it nor to tell anyone about it. The mechanism is real, programs overwriting each other's instructions in shared memory, but Redcode and its machine exist only inside the game.

Also known as: Core Wars, Corewar, Redcode, MARS simulator

← Back to C Back to the glossary