planet-wars/frontend
2019-09-18 12:29:56 +02:00
..
src colourful planets 2019-09-18 12:29:56 +02:00
tests init commit 2019-09-13 22:54:21 +02:00
www colourful planets 2019-09-18 12:29:56 +02:00
.appveyor.yml init commit 2019-09-13 22:54:21 +02:00
.cargo-ok init commit 2019-09-13 22:54:21 +02:00
.gitignore init commit 2019-09-13 22:54:21 +02:00
.travis.yml init commit 2019-09-13 22:54:21 +02:00
Cargo.toml add basic functions 2019-09-17 13:46:20 +02:00
LICENSE_APACHE init commit 2019-09-13 22:54:21 +02:00
LICENSE_MIT init commit 2019-09-13 22:54:21 +02:00
README.md update readme 2019-09-13 22:59:54 +02:00

Planetwars frontend

This is the main folder of the Planetwars frontend. Here you can compile the rust wasm files needed in the 'WWW' folder that is actually used to host the server. When making changes make sure you recompile them using wasm-pack build and webpack is running in www with npm start from the www folder.

Build

wasm-pack build

Dependencies

  • rustup, rustc, cargo
  • npm
  • wasm-pack
  • nightly, wasm32-unknown-unknown target

...

Follow this link https://rustwasm.github.io/docs/book/game-of-life/setup.html