diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2022-09-13 16:32:43 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2022-09-13 16:32:43 +0200 |
| commit | 1ce581a931352192c1360e1496d7a1ae56380e9d (patch) | |
| tree | 662288c1f2609eac662ffbd02ba5eef4816f6587 /src/main.rs | |
| parent | c09e58e0e5435096d524eb6aede4b722a1dbbe57 (diff) | |
| download | gof-rs-1ce581a931352192c1360e1496d7a1ae56380e9d.tar.xz gof-rs-1ce581a931352192c1360e1496d7a1ae56380e9d.zip | |
Added ui.rs which is responsible for the tui and changed the code to run the game of life in a block of the tui
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 056d16a..7b4544b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,9 +1,11 @@ #![allow(unused_imports, unused_variables, unused_mut)] +use std::error::Error; mod generation; use generation::*; +mod ui; +use ui::*; - -fn main() { +fn main() -> Result<(), Box<dyn Error>> { generation::init() } |
