EN605.607.81.SP22_ASDM_Project/front_end
Stephen Seo 9e9bb0758c Fix rand not compilable for wasm, impl game logic
"rand" crate was not compilable for wasm-unknown-unknown target, so an
alternative "oorandom" crate was substituted in.

Basic game win/draw detection logic added.
2022-03-09 16:26:14 +09:00
..
src Fix rand not compilable for wasm, impl game logic 2022-03-09 16:26:14 +09:00
.gitignore Impl basic MVP of front-end 2022-02-28 16:45:33 +09:00
Cargo.lock Fix rand not compilable for wasm, impl game logic 2022-03-09 16:26:14 +09:00
Cargo.toml Fix rand not compilable for wasm, impl game logic 2022-03-09 16:26:14 +09:00
index.html Impl main menu 2022-03-04 16:22:30 +09:00
README.md Impl basic MVP of front-end 2022-02-28 16:45:33 +09:00

How to Test

  • Have Rust installed via rustup.
  • Have the wasm target installed.
    • rustup target add wasm32-unknown-unknown
  • Have trunk installed and in PATH.
    • cargo install trunk
  • Serve the front-end via trunk.
    • trunk serve
      • This should serve a local server at 127.0.0.1:8080