cl-draw is an assistant tool for draws of Champions League (round of 16) style competitions. The creation of this tool was inspired after UEFA voided the Champions League 21/22 Round of 16 draw because of technical issues.
If you don't have pipenv:
pip install --user pipenv
Install dependencies from Pipfile:
pipenv install
python main.py
This program expects an input file named 'teams.json', which has the following structure:
{
"seeded": [
{
"team": string,
"group": string,
"country": string
},
...
],
"unseeded": [
{
"team": string,
"group": string,
"country": string
},
...
]
}
The program currently follows UEFA's rules for their Champions League Round of 16 draw. This includes:
- Teams from the same country cannot play each other
- Teams from the same group cannot play each other