#multiplayer

rust-elo-multiplayer

Calculate ELO with multiple players

3 releases

0.1.2 Oct 20, 2022
0.1.1 Oct 20, 2022
0.1.0 Oct 20, 2022

#47 in #multiplayer

MIT license

5KB
92 lines

rust-elo-multiplayer

Rust crate for calculating multiplayer rating based on elo ranking system

Example usage

use rust_elo_multiplayer::EloRank;

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

No runtime deps