- Underpopulation: An alive cell with 0-1 live neighbors will die
- Right conditions: An alive cell with 2-3 live neighbors will be kept alive
- Overpopulation: An alive cell with more than 3 live neighbots will die
- Regeneration: A dead cell with exactly 3 live neighbors will live
Run the game of life directly with go
go run .
Execute all the test cases
go test
Programming Projects for Advanced Beginners #2: Game of Life