Log In  

2

A basic implementation of Conway's Game of Life. A zero player game which simulates the life of a cell with very basic rules.

https://en.wikipedia.org/wiki/Conway's_Game_of_Life

Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
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 overpopulation.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Cart [#37294#] | Copy | Code | 2017-02-08 | Link
2

educational zeroplayer


P#37289 2017-02-08 12:48

Log in to post a comment

user:
password:

New User | Account Help
:: New User
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:
Generated 2017-03-23 14:11 | 0.121s | 1572k