Life 1.06: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Spam User (talk | contribs)
m Reverted edits by 220.181.66.165 (Talk) to last version by Nathaniel
Line 1: Line 1:
The '''Life 1.06''' file format is an ASCII format that is just a list of coordinates of alive cells. Life 1.06 was designed to be easy and quick for a Life program to read and write, with the drawback being that the file size is very large for large [[pattern|patterns]]. Life 1.06 files are saved with a .lif or .life file extension.
The '''Life 1.06''' file format is an ASCII format that is just a list of coordinates of alive cells. Life 1.06 was designed to be easy and quick for a Life program to read and write, with the drawback being that the file size is very large for large [[pattern|patterns]]. Life 1.06 files are saved with a .lif or .life file extension.


E6li0M  <a href="http://vehstjljixkd.com/">vehstjljixkd</a>, [url=http://skjxgjkkscka.com/]skjxgjkkscka[/url], [link=http://rwmviksaaklp.com/]rwmviksaaklp[/link], http://fjxvkavwqlgp.com/
==Description of format==
The first line is a header line, indicating that the file is in Life 1.06 format:
 
<code>&#35;Life 1.06</code>
 
Each subsequent line is of the form
 
<code>x y</code>
 
where x and y are the x and y coordinates of an alive cell, respectively. Each alive cell must be on its own line, and the x and y coordinates are separated by a space.


==Examples==
==Examples==

Revision as of 14:00, 9 July 2010

The Life 1.06 file format is an ASCII format that is just a list of coordinates of alive cells. Life 1.06 was designed to be easy and quick for a Life program to read and write, with the drawback being that the file size is very large for large patterns. Life 1.06 files are saved with a .lif or .life file extension.

Description of format

The first line is a header line, indicating that the file is in Life 1.06 format:

#Life 1.06

Each subsequent line is of the form

x y

where x and y are the x and y coordinates of an alive cell, respectively. Each alive cell must be on its own line, and the x and y coordinates are separated by a space.

Examples

The following is a glider in Life 1.06 format:

#Life 1.06
0 -1
1 0
-1 1
0 1
1 1