home *** CD-ROM | disk | FTP | other *** search
/ Harvey Norman Games / HN.iso / BOARD / LIFE2P0.ZIP / TUTORIAL.DOC < prev   
Text File  |  1994-07-07  |  4KB  |  132 lines

  1.  
  2.                                     LIFE
  3.                                  Version 2.0
  4.                         (C) 1994 G.Stretton. Australia.
  5.  
  6.  
  7. This is a quick explanation of what life is about.
  8.  
  9. The basic unit of life is the cell. A cell may be alive or dead. Live cells
  10. are displayed on the screen, dead cells are not.
  11.  
  12. The rules, changed with edit rules in the control menu, control the fate of
  13. all the cells.
  14.  
  15. The default rules, 2333, are those used by Conway, the originator of life.
  16.  
  17. In the rule editor, these rules are shown as:
  18.  
  19.         Die if less neighbours than ---------------------- 2
  20.             
  21.             Minimum number of neighbours for a birth ----- 3
  22.  
  23.             Maximum number of neighbours for a birth ----- 3
  24.  
  25.         Die if less neighbours than ---------------------- 3
  26.  
  27.  
  28. A cells neighbours are those cells, alive or dead, that are immediately
  29. adjacent to the cell horizontally, vertically or diagonally. Thus a cell has
  30. eight neighbours which may be alive or dead.
  31.  
  32. The rules only consider the live neighbours and say:
  33.  
  34.     For every position on the screen:
  35.  
  36.     If the currently considered cell has less than 2 live neighbours then it 
  37.     dies from lack of companionship.
  38.  
  39.     If the cell is empty and has a minimum of 3 live neighbours and a maximum 
  40.     of 3 live neighbours, using the default rules exactly 3 live neighbours, 
  41.     then it is made live, a birth occurs in that cell.
  42.  
  43.     If the cell has more than 3 live neighbours then the cell dies from 
  44.     overcrowding.
  45.  
  46.  
  47. That's it. These simple rules lead to an amazing complexity of behaviour.
  48.  
  49. This is a bit hard to show here but I will give it a shot.
  50.  
  51. A * will be used to denote a live cell. Dead cells are not shown.
  52.  
  53. Consider the pattern of 3 adjacent live cells:
  54.  
  55.                             * * *
  56.  
  57. The pattern of neighbour counts for the surrounding empty cells is:
  58.  
  59.                            1 2 3 2 1
  60.                            1 * * * 1
  61.                            1 2 3 2 1
  62.  
  63.  
  64. By following the rules we find that on the next generation, the pattern has 
  65. changed to: 
  66.  
  67.                             *
  68.                             *
  69.                             *
  70.  
  71.  
  72. The top and bottom cells were born because they had 3 neighbours.
  73. The left and right cells died because they had less than 2 neighbours and
  74. the centre cell stayed alive because it has 2 neighbours.
  75.  
  76. If you iterate the rules over this pattern again, it reverts to its starting
  77. position. This is a simple oscillator.
  78.  
  79.  
  80. Generation:
  81.  
  82.     1           2           3           4        etc. ......
  83.  
  84.                 *                       *
  85.   * * *         *         * * *         *
  86.                 *                       *
  87.  
  88.  
  89.  
  90. Another example.
  91.  
  92. Consider the pattern:
  93.  
  94.             * *
  95.             * *
  96.  
  97. The neighbour count for the cells surrounding this pattern of 4 cells is:
  98.  
  99.           1 2 2 1
  100.           2 * * 2          Note that each live cell has 3 live neighbours.
  101.           2 * * 2
  102.           1 2 2 1
  103.  
  104.  
  105. As none of the surrounding empty cells has the requisite number of live
  106. neighbours for a birth, and none of the live cells has more than the
  107. maximum or less than the minimum number of live neighbours to stay alive,
  108. this pattern is stable. It doesn't change from one generation to the next.
  109.  
  110.  
  111. That's it really. You may find it helpful to work through a few simple
  112. examples like these using the single step function from the edit menu.
  113. First draw your pattern on the screen using edit section in the edit menu.
  114. Then press the <+> once to calculate the appearance of the next generation.
  115. Press <+> again to display the next generation etc.
  116. See if you can predict the outcome without resorting to the computer.
  117. Then forget all about doing it in your head, as you'll go insane with more
  118. than just a very few live cells on the screen.
  119.  
  120.  
  121.     I hope this gives you some idea of what the program is about.
  122.  
  123.     If you need more information, then I suggest you look up something
  124.     on cellular automata or artificial life at the library.
  125.  
  126.  
  127.                                         All the best.
  128.  
  129.  
  130.                                         Graeme Stretton.
  131.  
  132.