knsd / life-rs

Conway's game of life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

life-rs

Rust implementation of Conway's game of life using Piston library.

Build

Just run cargo build --release

Run

Eaxmples:

./life-rs

Starts program with infinite board.

./life-rs --width=100 --height=100

Starts program with board of width 100 and height 100, if no width or height specified the board will be infinite in that dimension.

./life-rs --file file_name

Starts program with initial board configuration from file file_name

Controls

Key Action
Left, Right, Up or Down arrow Move camera
Plus or Minus Zoom in/out
s or f Slower or faster evolution
p Pause/Resume
h Display help
ESC Quit app

About

Conway's game of life

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%