game-of-life-awt
This is a simple Java demonstration of John Horton Conway's Game of Life I did some years ago. I'm rescuing this old project from the now dead code.google.com
From Wikipedia:
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.
The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.
Basically, the game rules are these:
- If a cell is live and has 2 or 3 living cell neighbors, it will continue living in the next round
- If a cell is live and has 0 living neighbors, she will die next round
- If a cell is live and has too many living neighbours (more than 3), she will die next round
- If a cell is dead and has exactly 3 living neighbors, she will born the next round