planet-wars/frontend
2019-09-23 19:03:54 +02:00
..
src ships flying true 2019-09-21 17:19:40 +02:00
tests init commit 2019-09-13 22:54:21 +02:00
www add example games 2019-09-23 19:03:54 +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
build_games.sh add game selector 2019-09-21 18:56:46 +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
package-lock.json better planets 2019-09-19 17:52:48 +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