Skip to content

vrnimje/Game-of-Life-Rust-Wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life, using Rust and WebAssembly

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

Conway's Game of Life, which consists of a Universe of infinite cells. These cells have two states: Alive & Dead. Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur:

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

🛠️ Build with wasm-pack build

wasm-pack build

License

Licensed under either of

at your option.

Output

demo.mp4

About

Conway's Game of Life, visualised using Rust and WebAssembly

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published