orabazu / wasm-game-of-life

Game of life with rust & wasm πŸ¦€πŸ•Έ

Home Page:http://zhunor-wasm.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wasm-game-of-life

Implemantation of following tutorial Rust and WebAssembly project using wasm-pack.

Built with πŸ¦€πŸ•Έ by The Rust and WebAssembly Working Group

About

πŸ“š Checkout the original template tutorial! πŸ“š

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Usage

πŸ‘ Boilerplate

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

πŸ› οΈ Build with wasm-pack build

wasm-pack build

πŸ•Έ What's under www?

Using (https://github.com/rustwasm/create-wasm-app)

npm init wasm-app www

create boilerplate for js & html

πŸ”‹ Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.

### TODO

  • console_error_panic_hook for logging panic messages to the developer console.

  • wee_alloc, an allocator optimized for small code size.

  • Publish to NPM with wasm-pack publish

About

Game of life with rust & wasm πŸ¦€πŸ•Έ

http://zhunor-wasm.surge.sh/

License:Apache License 2.0


Languages

Language:Rust 100.0%