Conway's Game of Life on 2-D toroidal grid in rust.
An interactive command-line experience.
Steps to success:
- Start program with
cargo run
- Select a demo
- ????
- PROFIT!!!
My first rust program. I would really appreciate feedback on idiomatic rust.
You can change the const declaration to adjust the size of the grid.
Author: Lyall Jonathan Di Trapani
cargo test
To publish a new version:
cargo publish
https://github.com/xd009642/tarpaulin
sudo apt-get install pkg-config cmake zlib1g-dev
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
Takes forever to compile tarpaulin.
cargo tarpaulin -v
https://github.com/rust-lang-nursery/rustfmt
rustup component add rustfmt-preview
cargo fmt
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
- put tests in separate file
- rustfmt
- how to write tests with fakes/mocks?