Source code of Tom Ray's artificial life model "Tierra" from http://tomray.me/tierra/source/
Tierra Simulator V6.02: Copyright (c) 1990 - 2004 Thomas S. Ray
Versions
- Patched for Linux (Ubuntu 20.04): main branch
- Original v6.02: v6.02-original branch
How to run Tierra
On Linux (Ubuntu 20.04), run following commands.
WARNING: At this time, a build error occurs on Ubuntu 22.04
# Install required libraries sudo apt update sudo apt install -y build-essential libncurses-dev libxt-dev libxaw7-dev libtirpc-dev x11-apps # Clone this repository git clone https://github.com/bioerrorlog/Tierra.git # Build Tierra cd Tierra/tierra ./configure make clean make # Generate gb (gene bank) cd ./gb0 ../arg c 0080.gen 0080aaa.tie ../arg x 0080.gen aaa cp 0080.gen 0080gen.vir # Execute Tierra cd .. HOSTNAME=localhost ./tierra si0
To visualize the Tierra runnning process, use Beagle Explorer.
Open new terminal and run following commands:
# Build Beagle Explorer cd ../Bglclnt/ make -f Makefile.Bgl clean make -f Makefile.Bgl # Run Beagle Explorer HOSTNAME=localhost ./bgl-GUI_X11-Linux
For more detail, see Tierra.doc.
