A82: Life


[Prev][Next][Index][Thread]

A82: Life




I wrote the classic life simulation for ASH... here it is in case anyone
is interested.




_=_ 
_=_ Part 001 of 001 of file life.zip
_=_ 

begin 666 life.zip
M4$L#!!0````(`+8)=R1_''__R0H``!DI```(````;&EF92YA<VW-6NMOV\@1
M_RP!_!\6:8K:/<8GR<_*,%`G]MT%=2Z&[4/3?C%6Y%IB3'&%)15;_NL[,_O@
M+D7)LIOK53(L<G9V=N8WCWV0QXQ=9'>"]7=Z[!U[KQ:\8!]XQ8LGKF34/69L
ME"2'?Q=3GN4[H\5\1Z1S(M],LI+!WW3![C)55HR74S93<JSX-&:\2%G&[@OY
MP+(*V292J6R4+]B#RJI*%#L[.R3FXU^F3!9`SXHDGZ=9,6;51+!2SE4BV$@D
M?%X*]A&N\DQ\$WYCI?7C><X2GB?SG%=2615*5D[D/$^A(U,B%[P4Z0YC)]M1
M5W__I`<$,=G18&?B$:#[;((4_!8B&T]&4I7LA)U>GMV^_^VGJ#N5P';";LZ_
MW-Q^.O\4=65QE_.Q1_JA'W5G,BLJH1Y]\L"1%SYY-^J"@'+BT_:BKA(\7Z+O
M1]U*CL<Y0N61#Z)N9T>J,;N^.;VZN3T].[M"2CIB;ZR#W\0](`$F/.[KBRVT
M9#OFEOSV*(%+.:_8UD"3HRYHJ^00+J\^?[K]<'IQL?7AXOSTZO;LX_7E=D?W
MG.16]-:'WZZN/U_=7GZ^WHXG>:=FR$$+7\K9[;]O;J]OKK8=Q]O>W_I[H9@O
M*,0Q%'S:%/&I(:+?ZXEU(BB0GY.1]'OK9,QROGA&Q&!WO8A$(JIY^9P8OEX,
MQ/6W58A$W0>>5>BX!%/DY_.;VW^<_PMO9^SM[B%<*%&Q)TLX@HNO,_849T59
MJ7E29;(H;2,&UU?%BJ<894;=LN*J@G14BVH"<3B,3/P<UAB9X#?:3W(=3I!C
MS.KOB-1UL+_O.O]\=7KYB\ZL)F,JZM8?3!2/$D#J[HYN,@4_CU`'N#4\`9`4
M5XI\!A:.9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