Skip to content

Conway's game of life reloaded in rust and webassembly (wip) 🦀 + 🕸️

License

Notifications You must be signed in to change notification settings

gcamerli/conway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway

Description

Conway's Game of Life written in Rust and WebAssembly from the official book Rust and WebAssembly.

Toolchain

  • rustup
  • rustc
  • cargo
  • wasm-pack
  • cargo-generate
  • npm

Follow the Setup guide from the official book.

Design

glider

Infinite Universe

Fixed-size, periodic universe, where cells on the edges have neighbors that wrap around to the other side of the universe. Because neighbors wrap around the edges of the universe, gliders can keep running forever.

Docker

Executing the run.sh script docker will:

  • build the image from the Dockerfile
  • create the bridge network from the network.sh script
  • deploy the npm version of Conway's Game of Life with docker-compose

To see in action the life open up your browser at 172.42.0.42:8080.


Hack without fear!

Doc

License

This work is unlicensed under the terms of Unlicense.

About

Conway's game of life reloaded in rust and webassembly (wip) 🦀 + 🕸️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published