rust-elo-multiplayer

Crates.iorust-elo-multiplayer
lib.rsrust-elo-multiplayer
version0.1.2
sourcesrc
created_at2022-10-20 08:43:01.318706
updated_at2022-10-20 08:54:11.132774
descriptionCalculate ELO with multiple players
homepagehttps://github.com/mattiasmucherie/rust_tutorial
repositoryhttps://github.com/mattiasmucherie/rust_tutorial
max_upload_size
id692238
size5,676
Mattias Mucherie (mattiasmucherie)

documentation

README

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();
}

Commit count: 6

cargo fmt