mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-03 11:49:15 +01:00
Merge branch 'meta/docfixes' into develop
This commit is contained in:
commit
b56948dd19
@ -6,7 +6,9 @@
|
||||
* CHANGE: Some fields has been renamed to match coding guideline (Please see [1ab96fa](https://github.com/JeroenED/libpairtwo/commit/1ab96fa04782c1b0f2b6bb9d1bac8397a74ab38e) for more info)
|
||||
* CHANGE: Logo has been redesigned
|
||||
* CHANGE: Phpdoc is used again for docs generation
|
||||
* REMOVED: `Tiebreak::American` and all its uses were removed (Please see [a6015ae](https://github.com/JeroenED/libpairtwo/commit/a6015ae8169f0973f4937605d0f807aacc233630) for more info)
|
||||
* CHANGE: `Tiebreak::American` and all its uses were removed (Please see [a6015ae](https://github.com/JeroenED/libpairtwo/commit/a6015ae8169f0973f4937605d0f807aacc233630) for more info)
|
||||
* CHANGE: `Tournament::calculateSonneborn()` did not use a virtual opponent for bye results
|
||||
* BUGFIX: `Tournament::calculateMutualResult()` returned a value even it not all players did not play each other
|
||||
|
||||
## v1.2 (Release: 28-sep-2019)
|
||||
* NEW READER: `Readers\Swar-4` for reading out files created with SWAR version 4.
|
||||
|
@ -238,10 +238,9 @@ class Player
|
||||
/**
|
||||
* Returns the points of a virtual player as described in the Fide Handbook C.02 chapter 13.15.2.
|
||||
*
|
||||
* 1 Point is awarded for winning
|
||||
* 0.5 points are awarded for draw
|
||||
* Unplayed results are conside
|
||||
* Return the same score for all rounds until $byeround and added with a half point for each subsequent round
|
||||
*
|
||||
* @param int $byeround
|
||||
* @return float
|
||||
*/
|
||||
public function calculatePointsForVirtualPlayer(int $byeround): float
|
||||
|
Loading…
Reference in New Issue
Block a user