- Core War
- Programming Games
- CoreLife
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.
Specification
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:
| Command | Description |
|---|---|
MOVE | Copy the contents of the first argument to the second |
ADD | Add the first argument to the second |
SUB | Subtract the first argument from the second |
MULT | Multiply the first argument by the second |
DIV | Divide the second argument by the first |
MOD | Calculate the second argument modulo the first |
AND | Logical AND the first argument with the second |
OR | Logically OR the first argument with the second |
NOT | Invert the first argument |
RAND | Set second argument to a random value bound by the first |
DATA | Causes an error if executed |
NOP | No operation, do nothing |
JMP | Jump to the first argument |
JMP<c> | Jump to the first argument if condition <c> is true |
SPLIT | Start a new thread at the first argument |
PROT | Protect the first argument from the next write attempt |
RST<d> | Reset the flow direction flag <d> in the first argument |
SET<d> | 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
calculated by (space occupied) / (number of processes) and
any conflict for a memory location is resolved randomly based on the
relative strength of the programs.
The complete specification is available in the CoreLife manual. There's also a short tutorial written by Jesse Chang — CoreLife Addressing Examples and a Quick Start Guide.
Software
CoreLife was published as shareware by Brent Adams in 1993, priced $19.95 (or $11.95 if you uploaded CoreLife to a BBS).
- CoreLife 1.0 (10 May 1993) - corelife.zip, manual
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).