elo 0.3.0

Rust crate for calculating player rating based on elo ranking system
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 3.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 220.17 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • ivpusic/rust-elo
    5 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ivpusic

rust-elo

Build Status

Rust crate for calculating player rating based on elo ranking system

Installation

Add to your Cargo.toml

[dependencies]
elo = "0.2.1"

Example usage

extern crate elo;

use elo::EloRank;

fn main() {
    let elo = EloRank { k: 32 };
    let winner = 1200.0;
    let looser = 1400.0;

    let (winner_new_score, looser_new_score) = elo.calculate(winner, looser);
}