Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shalzz/wasm-game-of-life
Game of Life implementation using Rust, Javascript and WebAssembly!
https://github.com/shalzz/wasm-game-of-life
Last synced: 10 days ago
JSON representation
Game of Life implementation using Rust, Javascript and WebAssembly!
- Host: GitHub
- URL: https://github.com/shalzz/wasm-game-of-life
- Owner: shalzz
- License: apache-2.0
- Created: 2019-09-22T13:18:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:58:00.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T02:43:19.851Z (25 days ago)
- Language: Rust
- Size: 679 KB
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE_APACHE
Awesome Lists containing this project
README
## About
Try it out at !
## Run
Build the webassembly module with `wasm-pack build`
```
wasm-pack build
```start the webserver with `npm run start`
```
cd www
npm run start
```Open the webpage at http://localhost:808
## Build
### 🛠️ Build with `wasm-pack build`
```
wasm-pack build
```### 🔬 Test in Headless Browsers with `wasm-pack test`
```
wasm-pack test --headless --firefox
```### 🎁 Deploy
1. Build the wasm module
```
wasm-pack build
```2. Bundle with our js and html
```
cd www
npm run build
```3. Deploy to @zeit/now
```
cd www/dist
now
```