Abstract PhenoType.
[cellular-automata.git] / life / 001 / bin / life
CommitLineData
15ee0f23
SK
1#! /bin/sh
2
3
223cc9ca 4Y=`stty size | awk '{print $1 - 3}'` # Reserve 3 charcters for status bar
15ee0f23
SK
5X=`stty size | awk '{print $2}'`
6
f40adb05
SK
7NUM_BEAM_PROCESSES=31
8NUM_LIFE_CELLS=`expr $X \* $Y`
9NUM_LIFE_PROCESSES=`expr $NUM_LIFE_CELLS + 4`
10NUM_PROCESSES=`expr $NUM_BEAM_PROCESSES + $NUM_LIFE_PROCESSES`
11
15ee0f23 12
d2a0e2f9 13erl \
f40adb05 14 +P $NUM_PROCESSES \
5c65ee24 15 -name life_001@localhost \
d2a0e2f9
SK
16 -noshell \
17 -pa ebin \
18 -life x $X y $Y \
19 -s life bang
This page took 0.031633 seconds and 4 git commands to generate.