Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guillaume-gomez/wasm-game-of-life

A game of life in web assembly
https://github.com/guillaume-gomez/wasm-game-of-life

rust wasm webassembly

Last synced: 24 days ago
JSON representation

A game of life in web assembly

Awesome Lists containing this project

README

        

## Wasm Game of life

[You can try online](https://guillaume-gomez.github.io/wasm-game-of-life/)

### Run locally

```
wasm-pack build
cd www
yarn build
yarn preview
```

⚠️ for now, using `yarn dev` does not work yet

## About

[**📚 Read this template tutorial! 📚**][template-docs]

This template is designed for compiling Rust libraries into WebAssembly and
publishing the resulting package to NPM.

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

[tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html
[template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html

## 🚴 Usage

### 🛠️ Build with `wasm-pack build`

```
wasm-pack build
```

### 🔬 Test in Headless Browsers with `wasm-pack test`

```
wasm-pack test --headless --firefox
```