Skip to content

Conway's Game of Life on the browser with WebAssembly, built with Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

fhpriamo/wasm-game-of-life

Repository files navigation

wasm-game-of-life

Conway's Game of Life on the browser with WebAssembly 🕸, built with Rust 🦀.

Game of Life running in the browser

🚴 Running

You'll need the npm command and the Node.js runtime in order to install the dependencies and run the app. You can download both in one take from the Node.js project website.

  1. Clone this repository anyware in your machine;
  2. Move to the project root folder;
  3. Execute npm install to install and configure the dependencies;
  4. Run the web server on port 8080 to serve the app with npm run start;
  5. Point your browser to http://localhost:8080 to see it in action!; 😲

📁 Files

  • You can peek the essential Rust code used to generate the .wasm in rust/lib.rs;
  • The generated .wasm and respective JavaScript bindings can be found in src/lib/;

⚖️ Licensing

This project is a composition of several slightly adapted pieces of code from the rustwasm book. Thus, it strives to accord with the rustwasm book licensing terms. Please, open an issue if you spot any license infrigement.

About

Conway's Game of Life on the browser with WebAssembly, built with Rust.

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