Converted to OTP app.
[cellular-automata.git] / 001 / bin / life
similarity index 55%
rename from 001/life
rename to 001/bin/life
index d653da0..87edae8 100755 (executable)
--- a/001/life
@@ -5,5 +5,8 @@ Y=`expr \`stty size | awk '{print $1}'\` - 3`
 X=`stty size | awk '{print $2}'`
 
 
-erlc life.erl
-erl -noshell -s life bang $X $Y
+erl \
+    -noshell \
+    -pa ebin \
+    -life x $X y $Y \
+    -s life bang
This page took 0.020485 seconds and 4 git commands to generate.