"Self Replication?"

by: Max Keene, 2006

Self replicating amoeba's that move between two computers using TCP protocol. Each amoeba has a unique genetic code that influences its attraction to other amoeba's and their probability of reproduction. A toggle button interface on each computer allows a user to open or close a barrier between the two computers and control to some extent the attraction and reproduction of the amoeba.

Processing Source Code for Left Monitor

Processing Source Code for Right Monitor

Click Here to Download Source Code

Click Here to Download Source Code
Arduino Source Code for Toggle button input: (same code for both computer inputs)
int but = 13;
int val;

void setup()
{
Serial.begin(19200);
pinMode(but, INPUT);
}

void loop()
{
val = digitalRead(but);
Serial.println(val,DEC);
}