-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
##HTML5 / Canvas / Javascript experiment that demonstrates Conway's Game of Life. | ||
|
||
#Directions: | ||
|
||
Press 's' to start / pause | ||
|
||
|
||
Want to see more? Look in the source | ||
|
||
#More Information: | ||
|
||
There are four rules that each pixel must obey. (Source: Wikipedia) | ||
|
||
Any live cell with fewer than two live neighbours dies, as if caused by under-population. | ||
Any live cell with two or three live neighbours lives on to the next generation. | ||
Any live cell with more than three live neighbours dies, as if by overcrowding. | ||
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. |