Typical input for such a file consists of a grid representation of "alive" and "dead" cells. Common Input Formats
: A 25x25 (or larger) matrix using 'x' or 1 for alive cells and ' ' (space) or 0 for dead cells [13]. Coordinate List : A text file listing only the coordinates of initial alive cells. Sample Pattern (Glider) glife.zip
(where 'x' represents a living cell and '.' represents a dead cell) Technical Context for glife.zip Typical input for such a file consists of
: The ZipArchive class allows you to create a zip from a string of text. glife.zip