simple conway thing
64x36
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | src/main.rs | 4 | ||||
| -rw-r--r-- | src/seed.png | bin | 124 -> 124 bytes |
3 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ [package] name = "cgol" -version = "0.1.0" +version = "0.1.1" edition = "2021" -author = ["bendn <[email protected]>"] +authors = ["bendn <[email protected]>"] description = "simple finite cgol, takes seed from a image, outputs to the terminal" repository = "https://github.com/bend-n/cgol.git" license = "MIT" diff --git a/src/main.rs b/src/main.rs index ae6773e..21bf7c6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,8 +3,8 @@ use std::{ time::Duration, }; -const WIDTH: usize = 50; -const HEIGHT: usize = 20; +const WIDTH: usize = 64; +const HEIGHT: usize = 36; pub struct Grid([[bool; HEIGHT + 2]; WIDTH + 2]); impl Default for Grid { diff --git a/src/seed.png b/src/seed.png Binary files differindex 3825726..1a39bd2 100644 --- a/src/seed.png +++ b/src/seed.png |