Implement Conway’s Game of Life
Conway’s Game Of Life, in three lines of code.
Show the development over time of the average slice of a Game of Life board:
how it works
Implementing a complete, dynamic Game of Life in the Wolfram Language requires three lines of code:
The first line defines the rules of the Game of Life in the format used by the CellularAutomaton function. The second line sets up a 50×50 board of random zeros and ones. The third line runs the game and plots the developing board.
This expression—from Stephen Wolfram’s video Introduction to the Wolfram Language—shows the development over time of the average slice of a Game of Life board.