The Rules of Life

  1. For each populated cell in the table, count the number of neighbors to that cell
  2. For each empty cell in the table, count the number of live neighbors to that cell.

    Begin to play

    You can use mouse to click on the cell table to choose the first generation. Once you choose a specific cell, you can also click again to cancel that population of cell.

    Then just click on the start the program will begin to generate the next generation base on the rules of the life.Each generation of the cell will have different color, that means, user can identify the number of generation of a cell base on its color. The generation of the color is as follow:

    1. Red
    2. Pink
    3. Orange
    4. Yellow
    5. Green
    6. Magenta
    7. Cyan
    8. Blue
    9. White
    10. Dark Gray
    11. and more, Black

    The Life source code

    Game of Life

    Cell.java