CoreLife is a programming game inspired by Core War and published as shareware for the PC by Brent Adams in 1993. CoreLife is played on a 100×100 grid by programs written in a two-dimensional programming language. The aim of the game is to write a program to eliminate all opponents.
Programs are written in a two-dimensional assembly-like language. Each instruction has one or two arguments and direction flags to indicate the flow of control. Arguments include X and Y coordinates and an addressing mode. Labels are up to 8 characters terminated by a colon. The following commands are supported:
|Copy the contents of the first argument to the second|
|Add the first argument to the second|
|Subtract the first argument from the second|
|Multiply the first argument by the second|
|Divide the second argument by the first|
|Calculate the second argument modulo the first|
|Invert the first argument|
|Set second argument to a random value bound by the first|
|Causes an error if executed|
|No operation, do nothing|
|Jump to the first argument|
|Jump to the first argument if condition <c> is true|
|Start a new thread at the first argument|
|Protect the first argument from the next write attempt|
|Reset the flow direction flag <d> in the first argument|
|Set the flow direction flag <d> in the first argument|
Programs are loaded into the 100×100 memory grid of a simulated
two-dimensional parallel processing computer. A program's strength is
(space occupied) / (number of processes) and
any conflict for a memory location is resolved randomly based on the
relative strength of the programs.
CoreLife was published as shareware by Brent Adams in 1993, priced $19.95 (or $11.95 if you uploaded CoreLife to a BBS).
The following battle programs are available:
- Backtrac, Pinwheel, Sailboat, Snow and Spiral by Brent Adams (distributed with CoreLife).
- Chain, Curtain, Pepprpot, Rain, Ringtoss, Stars, Sunburst and Weave by Jesse Chang (available in c-lifej1.zip).