Skip to content

Commit

Permalink
Merge pull request #52 from boardgamers/wasm
Browse files Browse the repository at this point in the history
Wasm
  • Loading branch information
AlphaCodingPilot authored Sep 15, 2024
2 parents 51e48fa + 7191948 commit df8bb09
Show file tree
Hide file tree
Showing 38 changed files with 1,098 additions and 837 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea/
target/
dist/
wbindgen/
.vscode/
.history/
*.cmd/
Expand Down
17 changes: 17 additions & 0 deletions README.md
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
Loading

0 comments on commit df8bb09

Please sign in to comment.