[Paper Archetype] Self-Replicating Swarms ("Mice") and the Lineage of Artificial Life (Tierra & Avida)
Dissecting the 6-line genome of 1986 World Champion "Mice" and how CoreWar inspired Thomas Ray's Tierra
What kind of organism can defeat a relentless ๐ชจ Stone bomber? Meet ๐ Paper (the self-replicating swarm "Mice"), winner of the inaugural 1986 World Tournament!
Here is how Paper's 6-line genome works: 1. 0000โ0002: Copies all 6 lines of its own body to a distant memory address. 2. 0003: Fires SPL.A @2 into the newborn clone to awaken it as an independent thread! 3. Because 1 colony becomes 2, 2 become 4, 8, 16..., single-point Stone bombs can never wipe out the swarm!
๐ฏ Your Task (No Editing Needed) Press [PLAY] and watch your green Paper colonies proliferate across the Arena and outlive the Stone bomber!
1. The 1986 World Tournament Shock: Why Paper Beats Stone
In Step 26, you pressed [PLAY] and witnessed one of the most iconic spectacles in computer science history: a self-replicating "Paper" organismโmodeled on Chip Wendell's legendary "Mice", winner of the inaugural 1986 International Core War Tournamentโmultiplying across the Arena against a Stone bomber.
As you watched the Arena grid, the ecological dynamic became unmistakable. While the red Stone warrior diligently hurled single-cell bombs one at a time, your green Paper organism copied its entire 6-line body to a new location, spawned a child process inside the copy, and then BOTH colonies began copying themselves simultaneouslyโexploding from 1 colony into 2, 4, 8, 16, and 32 across the memory core!
Why does ๐ Paper effortlessly defeat ๐ชจ Stone? Because Stone is a single-point attacker, whereas Paper is a distributed, exponentially replicating swarm! Even when a Stone bomb scores a lucky direct hit and destroys one Paper colony, three more daughter colonies have already been born elsewhere in memory. Trying to kill a Paper swarm with single-point Stone bombs is like trying to extinguish a forest fire with a water pistol.
๐ PAPER ("Mice" 6-Line Self-Replicating Genome):
[0000] MOV.AB #6, $0 โโโบ 1. Initialize copy counter = 6 lines (stored in 0000.B!)
[0001] MOV.I <-1, <4 โโโบ 2. Copy 1 line from self (<-1) to remote clone (<4)
[0002] JMN.B $-1, $-2 โโโบ 3. Loop back to [0001] until all 6 lines are copied!
[0003] SPL.A @2, #0 โโโบ 4. Awaken the newborn clone at @2 with a new thread!
[0004] ADD.AB #253, $1 โโโบ 5. Advance dispersal pointer by +253 for next clone
[0005] JMP.A $-5, #120 โโโบ 6. Repeat replication cycle (0005.B holds target pointer!)2. Dissecting the 6-Line DNA of "Mice": High-Speed Block Transcription
How does "Mice" copy all 6 lines of its own body and birth a live clone using only 6 instructions? Let's dissect this masterpiece of algorithmic compression line by line:
1. INITIALIZE COUNTER (0000: "MOV.AB #6, $0"): Sets its own B-field (0000.B) to 6, representing the 6 lines of its genome that need to be transcribed. 2. TIGHT COPY LOOP (0001: "MOV.I <-1, <4" and 0002: "JMN.B $-1, $-2"): Here, the "<" (Pre-Decrement) mode you learned in Step 24 is used on BOTH operands at once! On each tick, "<-1" decrements the counter in 0000.B (6 โ 5 โ 4 โ 3 โ 2 โ 1 โ 0) to read each line of the parent from bottom to top, while "<4" simultaneously decrements the target pointer in 0005.B to write each line into the distant daughter colony! Line 0002 ("JMN.B": Jump if Not Zero) loops back to 0001 until all 6 lines are copied and the counter hits 0. 3. MITOTIC AWAKENING (0003: "SPL.A @2, #0"): The instant the 6-line copy is complete, the pointer in 0005.B points directly to the first line of the newborn clone. "SPL.A @2" fires a brand-new execution pointer into the clone, bringing it to life! 4. DISPERSAL (0004โ0005): "ADD.AB #253, $1" shifts the target pointer in 0005.B by +253 cells so the next child will be born in fresh territory, and "JMP" restarts the cycle.
3. How CoreWar Sparked Modern Artificial Life: Thomas Ray's "Tierra" and "Avida"
What you just observed on screen is not merely a clever game strategyโit is the exact spark that ignited the scientific field of Digital Evolution and Artificial Life (ALife).
In the late 1980s, tropical ecologist Thomas S. Ray discovered CoreWar and watched self-replicating programs like "Mice" proliferate through virtual memory. Struck by an epiphany, Ray asked: "What if we take a CoreWar-style virtual machine, place a self-replicating program inside it, and introduce random bit flips (mutations) during the MOV copy process so that organisms evolve by natural selection?"
In 1990, Ray built that exact system and named it "Tierra" (later succeeded by the "Avida" platform at Caltech and Michigan State University). When Ray seeded Tierra's memory soup with a single self-replicating ancestor, astonishment followed: without any human programming, the digital organisms spontaneously evolved shorter, faster genomes, gave rise to "parasites" (tiny programs that lacked their own copy loop and hijacked the MOV loops of neighboring organisms!), and subsequently evolved hyper-parasites and immune defenses! The vivarium you are exploring today stands directly on the shoulders of that scientific revolution.
๐ MISSION CLEAR Unlocks the Full Lecture Note
Complete the experiment in the simulator above to automatically unlock the full deep-dive articleโor click below to read the full text immediately.