[](https://github.com/ImperialBower/wincounter/actions/workflows/basic.yaml)
[](https://crates.io/crates/wincounter)
[](https://docs.rs/wincounter/)
[](https://webassembly.org/)
# Win Counter
The library is designed to address a very specific problem found with reporting
the results in games: _How to do clearly store and report win percentages when
you have x number of players, and they can each tie with any number of other
players?_
## Setup
The default `make` runs the following tasks:
* `cargo fmt`
* `cargo clean`
* `cargo build`
* `cargo nextest run` (unit tests)
* `cargo test --doc` (doc tests)
* `cargo clippy` with `clippy::pedantic` lint settings
* `cargo check --target wasm32-unknown-unknown` (WASM compatibility)
* `cargo doc --no-deps`
```shell
❯ make
```
To open the generated docs in your browser:
```shell
❯ make docs
```