in reply to Re: Algorithm problem: Order matches by difference between players
in thread Algorithm problem: Order matches by difference between players
You are right. I tried the module Games::Tournament::RoundRobin. It delivers the same result apart from the order of the rounds. The last round is the same as my first round, ...
use strict; use warnings; use Data::Dumper; use Games::Tournament::RoundRobin; my $schedule = Games::Tournament::RoundRobin->new(v => 6, league => [1 +..6]); print Dumper($schedule->wholeSchedule());
|
|---|