Clone the repo and navigate into it.
git clone https://github.com/ethanavatar/Rust-CA.git
cd Rust-CA/
Build the app using:
cargo build
Run the app using:
cargo run
A window will open with a random initial state and start simulating immediately.
You can also use:
SPACE
to pause the simulationESCAPE
to clear the current boardR
to create a new random boardLEFT MOUSE
to add or remove cellsPERIOD
to pause and step one generation at a time
By default, the window is 1200x1200 pixels and the game board is 200x200 cells. It runs as fast as it can without an FPS cap.