Updated a.1 Showing a ranking (markdown)

Jeroen De Meerleer 2019-06-03 12:22:25 +02:00
parent 421d50813f
commit af585dc6e9

@ -17,6 +17,6 @@ $filereader->read('mycompetition.sws');
$ranking = $filereader->getTournament()->getRanking(); $ranking = $filereader->getTournament()->getRanking();
$count = 1; $count = 1;
foreach($ranking as $player) { foreach($ranking as $player) {
echo $count . ' ' . $player->getName() . '(' . $player.->getPoints() . ')'; echo $count . ' ' . $player->getName() . '(' . $player.->getTiebreaks()[0] . ')';
$count++; $count++;
} }