Yet another Rust implementation of Conway's Game of Life.
Make sure to follow the the install instructions for rust-sdl2
before building with cargo build --release
.
Run the program with cargo run --release
.
The program runs in a paused state initially. Clicking on the screen lets you choose which cells are alive or dead.
SPACEBAR unpauses and pauses the simulation.
PERIOD (.) steps through the simulation.
R randomizes all the cells.
C or BACKSPACE clears all the cells.
UP/DOWN arrow keys changes the speed of the simulation while running.
This project is licensed under the MIT license - see the LICENSE.md for details.