Exemple #1
0
 public function getChancesToWinAgainst(FoosPlayer $opponent)
 {
     $q1 = $this->getNormalizedStrength();
     $q2 = $opponent->getNormalizedStrength();
     return $q1 / ($q1 + $q2);
 }