diff --git a/Showing-a-ranking.md b/Showing-a-ranking.md index 7547cc3..88bfeeb 100644 --- a/Showing-a-ranking.md +++ b/Showing-a-ranking.md @@ -2,11 +2,7 @@ You can show a ranking by using the `Tournament::getRanking()` method. First, start by importing your sws-file. Using the resulting Sws-object you can navigate to the tournament and call the `Tournament::getRanking()` method. -The `Tournament::getRanking()` method takes 1 optional boolean parameter. If `true` libpairtwo will provide a ranking using the American System. If `false` or not provided it will use the normal ranking. In any case the shifting points from the sws-file will be applied. - -**Todo: Implement shifting points** - -`Tournament::getRanking()` returns an array of Player objects. This allows you to iterate through the array using foreach and display the required fields. +`Tournament::getRanking()` returns an array of Player objects. This allows you to iterate through the array using foreach and display the required fields. `Tournament::getRanking();` takes account of the tiebreaks. The order of tiebreaks gets loaded from your pairing file. The tiebreaks are calculated when getRanking() is called. Only the required tiebreaks are calculated. If tiebreak 1 is enough to provide the full ranking, tiebreak 2 does not get calculated. ## Example