-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from boardgamers/wasm
Wasm
- Loading branch information
Showing
38 changed files
with
1,098 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.idea/ | ||
target/ | ||
dist/ | ||
wbindgen/ | ||
.vscode/ | ||
.history/ | ||
*.cmd/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
# clash | ||
|
||
![Lines of code](https://img.shields.io/tokei/lines/github/boardgamers/clash) | ||
|
||
## Client | ||
|
||
### Run native client | ||
|
||
In the `client` directory, run `cargo run`. | ||
|
||
### Run local web client | ||
|
||
`./wasm-bindgen-macroquad.sh local_client` | ||
In the `client` directory, run `basic-http-server .` in `dist/` and open `http://localhost:4000` in a browser. | ||
|
||
# Notes | ||
|
||
- For random, use https://github.com/not-fl3/quad-rand | ||
- boardgamers-mono | ||
- https://github.com/boardgamers/boardgamers-mono/blob/683f4d473586ffe359ad7e58f7bf08d95c96d821/.gitpod.yml#L12-L18 |
Oops, something went wrong.