// A simple Game of Life rules implementation. int count; nbr y; default cell=cell; count=0; over each other y: if (y:cell) count++; if (cell && (count<2 || count>3)) cell=0; if (cell==0 && count==3) cell=1;