Conway's Game of Life
Life Game is a simulation demonstrated on an 20*20 wrapped square board. At any time some of the cells on the board will be alive and others dead.Which cells are alive at time 0 is determined randomly. However, the state of the cells at any later time follows from the previous one by the rules of the game:
- BIRTH. A cell that's dead at time t becomes alive at t+1 only if exactly three of its height neighbors were live at t.
- DEATH BY OVERCROWDING. A cell that's live at t and has four or more of its eight neighbors live at t will be dead by time t+1.
- DEATH BY EXPOSURE. A live cell that has only one live neighbor, or none at all at time t, will be dead at t+1.
- SURVIVAL. A cell that was live at time t will remain live at t+1 if it had 2 or 3 live neighbors at time t.
Implemented by Oguzhan Kocatepe ©1997