Stephen Seo
b2ea79a7f7
When the front-end polls the back-end for the game-state, the back-end includes a "date_updated" String in the JSON. If the String is the same as in the front-end, then no updates are needed, but if they are not the same, then the front-end will update the board. Because the front-end polls the back-end's board state approximately every second, this should make the front-end more efficient. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
COPYING | ||
index.html | ||
README.md |
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
- This should serve a local server at
Other Notes
The webserver hosting this front_end
is here.
Note that this website may not host the latest version of this front_end
.
See choose-a-license for details about the software license used.