Rust implementation of John Conway's "Game of Life"
- Each cell with one or no neighbors dies
- Each cell with four or more neighbors dies
- Each cell with two or three neighbors survives
- Each cell with three neighbors becomes populated.
- A GUI version should be released soon, but until then we shall use files!
Step 2: Make a file (inside project root) that contains an 8x8 grid using the characters '-' and '*'
Inside of example_grid.txt
--------
--------
---*----
--***---
--*-*---
---*----
--------
--------
cargo run example_grid.txt 4
Output:
--------
--***---
-*---*--
*-----*-
-*---*--
--***---
--------
--------