planet-wars/frontend
ajuvercr ef5399217d https://stackoverflow.com/questions/64507718/why-does-wasm-opt-fail-in-wasm-pack-builds-when-generating-a-function-returning 2021-01-17 15:19:02 +01:00
..
logs add logs 2019-09-24 15:31:21 +02:00
src Docker (#25) 2020-06-24 14:16:14 +02:00
tests init commit 2019-09-13 22:54:21 +02:00
www Docker (#25) 2020-06-24 14:16:14 +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 https://stackoverflow.com/questions/64507718/why-does-wasm-opt-fail-in-wasm-pack-builds-when-generating-a-function-returning 2021-01-17 15:19:02 +01: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
build_games.sh add logs 2019-09-24 15:31: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

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