planet-wars/frontend
2019-09-25 11:01:15 +02:00
..
logs add logs 2019-09-24 15:31:21 +02:00
src hopefully add faster voronoi shit in wasm file 2019-09-25 11:01:15 +02:00
tests init commit 2019-09-13 22:54:21 +02:00
www Merge branch 'master' of github.com:ajuvercr/Planetwars 2019-09-25 09:54:25 +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 logs 2019-09-24 15:31:21 +02:00
Cargo.toml hopefully add faster voronoi shit in wasm file 2019-09-25 11:01:15 +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
names.sh add logs 2019-09-24 15:31:21 +02:00
package-lock.json better planets 2019-09-19 17:52:48 +02:00
parse.py add logs 2019-09-24 15:31: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