/rust-wasm-life

Primary LanguageRustApache License 2.0Apache-2.0

wasm-game-of-life

🔥BIG DISCLAIMER: DO NOT, UNDER ANY CIRCUMSTANCE RUN THIS APP FOR A LONG PERIOD OF TIME ON AN IPS DISPLAY. CONSTANT TWITCHING OF PIXELS CAN BURN INTO THE DISPLAY!🔥

Do not ask me how I acquired this knowledge :(

A Rust WebAssembly Game of Life tutorial by Rust WASM community.

Build Status

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

This Rust WASM Game of Life tutorial is designed to teach creating NPM packages that contain Rust-generated WebAssembly and using them to create a Website.

🚴 Usage

wasm-pack build &&
cd www &&
npm i &&
npm start

🔋 Batteries Included

  • .gitignore: ignores node_modules
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you
  • README.md: the file you are reading now!
  • index.html: a bare bones html document that includes the webpack bundle
  • index.js: example js file with a comment showing how to import and use a wasm pkg
  • package.json and package-lock.json:
  • webpack.config.js: configuration file for bundling your js with webpack

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.