Skip to content

thexa4/gathering-elo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplayer-ELO

Multiplayer ELO calculations

Based on the algorithm / code presented here: http://elo-norsak.rhcloud.com/index.php

Simple way to calculate ELO for multiplayer games. Currently C, C#, C++, Java, Objective-C, Python, PHP and Swift versions. Slowly doing more.

Usage:

$match = new ELOMatch();
$match->addPlayer("Joe", 1, 1600);
$match->addPlayer("Sam", 2, 1550);
$match->addPlayer("Ted", 3, 1520);
$match->addPlayer("Rex", 4, 1439);
$match->calculateELOs();
$match->getELO("Joe");
$match->getELO("Sam");
$match->getELO("Ted");
$match->getELO("Rex");