https://github.com/techjacker/conway
https://github.com/techjacker/conway
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/techjacker/conway
- Owner: techjacker
- Created: 2021-07-13T17:26:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-13T17:27:27.000Z (over 4 years ago)
- Last Synced: 2025-04-04T02:12:55.713Z (12 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life

The Game of Life is a game played on an two-dimensional rectangular grid of cells. The game has no players, instead the evolution of play is dictated by the grid's initial state.
Each cell can be either alive or dead. The status of each cell changes on each turn of the game depending on the statuses of that cell's neighbours. Neighbours of a cell are cells that touch that cell, either horizontally, vertically, or diagonally.
- Any live cell with two or three live neighbours survives.
- Any dead cell with three live neighbours becomes a live cell.
- All other live cells are dead in the next turn. Similarly, all other dead cells stay dead.