Skip to content

About

Conway's Game of Life in the terminal. Pure Rust, zero dependencies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

game-of-life

Conway's Game of Life in the terminal. Pure Rust, zero dependencies.

The board wraps around at the edges, and every run starts from a random soup.

Run

cargo run --release                 # 40x30 board, 80ms per generation
cargo run --release -- 60 40 50     # width height delay_ms

Each cell is drawn two characters wide so it looks square.

Rules

  • A live cell with 2 or 3 live neighbours survives.
  • A dead cell with exactly 3 live neighbours comes alive.
  • Every other cell dies or stays dead.

About

Conway's Game of Life in the terminal. Pure Rust, zero dependencies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages