mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-22 06:26:57 +01:00
Added SoccerKashdan as supported Tiebreak
This commit is contained in:
parent
b90036a8ff
commit
bfa8e062f3
@ -16,6 +16,7 @@ class Tiebreak extends Enum
|
|||||||
const BuchholzCut = "Buchholz Cut";
|
const BuchholzCut = "Buchholz Cut";
|
||||||
const Sonneborn = "Sonneborn-Berger";
|
const Sonneborn = "Sonneborn-Berger";
|
||||||
const Kashdan = "Kashdan";
|
const Kashdan = "Kashdan";
|
||||||
|
const SoccerKashdan = "Soccer Kashdan";
|
||||||
const Cumulative = "Cumulative";
|
const Cumulative = "Cumulative";
|
||||||
const Between = "Mutual Result";
|
const Between = "Mutual Result";
|
||||||
const Koya = "Koya";
|
const Koya = "Koya";
|
||||||
|
@ -314,6 +314,9 @@ class Tournament extends Tiebreaks
|
|||||||
case Tiebreak::Kashdan:
|
case Tiebreak::Kashdan:
|
||||||
return $this->calculateKashdan($player);
|
return $this->calculateKashdan($player);
|
||||||
break;
|
break;
|
||||||
|
case Tiebreak::SoccerKashdan:
|
||||||
|
return $this->calculateSoccerKashdan($player);
|
||||||
|
break;
|
||||||
case Tiebreak::Cumulative:
|
case Tiebreak::Cumulative:
|
||||||
return $this->calculateCumulative($player);
|
return $this->calculateCumulative($player);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user