First time I got the two team TrueSkill calculator up and running

This commit is contained in:
Jeff Moser
2010-08-29 16:40:03 -04:00
parent 12a02b8403
commit a19f565dc9
6 changed files with 394 additions and 7 deletions

View File

@ -14,4 +14,11 @@ function square($x)
{
return $x * $x;
}
function sum($itemsToSum, $funcName )
{
$mappedItems = array_map($funcName, $itemsToSum);
return array_sum($mappedItems);
}
?>