mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01:00 
			
		
		
		
	First time I got the two team TrueSkill calculator up and running
This commit is contained in:
		@@ -14,4 +14,11 @@ function square($x)
 | 
			
		||||
{
 | 
			
		||||
    return $x * $x;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function sum($itemsToSum, $funcName )
 | 
			
		||||
{
 | 
			
		||||
    $mappedItems = array_map($funcName, $itemsToSum);
 | 
			
		||||
    return array_sum($mappedItems);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
?>
 | 
			
		||||
		Reference in New Issue
	
	Block a user