Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 563 Bytes

Readme.md

File metadata and controls

25 lines (15 loc) · 563 Bytes

Game of life

Rules

  • 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

App

Run

Run the game of life directly with go

go run .

Tests

Execute all the test cases

go test

References

Programming Projects for Advanced Beginners #2: Game of Life