Round-robin tournament schedule

Revision as of 15:32, 14 November 2021 by Steenslag (talk | contribs) (Add draft task)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A round-robin tournament is also known as an all-play-all-tournament; each participant plays every other participant once.

Round-robin tournament schedule is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

For N participants the number of rounds is N-1 if N is an even number. When there are an odd number of participants then each round one contestor has no opponent (AKA as a "bye"). The number of rounds is N in that case.

Task

Write a program that prints out a tournament schedule for 12 participants (represented by numbers 1 to 12).

See also