elo-multiplayer

Rust crate for calculating multiplayer rating based on elo ranking system

Installation

If you are on Rust 1.62 or higher use cargo add to install the latest version:

sh cargo add elo-multiplayer

Alternatively, you can add the following to your Cargo.toml file manually:

toml [dependencies] elo-multiplayer = "0.1.4"

Example usage

```rust use elo_multiplayer::EloRank;

fn main() { let players: Vec = vec![1000.0, 1000.0, 1000., 1000.0]; let elo = EloRank { k: 32, players }; let expected: Vec = elo.calculate(); }

```