Skip to content

This is a version of Conway's game of life written in Rust w/ Piston. It's inefficient and crappy. I'm trying to learn how to improve it. Bear with me.

Notifications You must be signed in to change notification settings

loganintech/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

Intro

Conway's game of life is a cellular automation game designed by John Horton Conway in 1970. It takes no user input beyond a starting configuration. At this point, that's hard-coded. That's the next thing I have to work on.

Rules

  • Any live cell with fewer than two live neighbors dies from underpopulation
  • Any live cell with two or three neighbors lives on
  • Any live cell with more than three neighbors dies from overpopulation
  • Any dead cell with three live neighbors is born again

Run

You can run with

cargo run

Usage

Enter - Play/Pause

Click - Change Square State

Scroll Wheel - Change Update Speed

Demo

About

This is a version of Conway's game of life written in Rust w/ Piston. It's inefficient and crappy. I'm trying to learn how to improve it. Bear with me.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages