inker / draw

⚽ Champions League draw simulator
https://inker.github.io/draw/
228 stars 67 forks source link

Draw restrictions not working correctly #123

Closed XanderBras closed 3 years ago

XanderBras commented 3 years ago

In my CL draw I drew Barcelona and was shown that Barcelona could only be placed in group G or H.

2020-10-01 10_24_47-CL draw simulator

However, it is totally possible to place Barcelona in another group without running into draw restrictions, like so: Group A Group B Group C Group D
Liverpool England Porto Portugal Real Madrid Spain Zenit Russia
Barcelona Spain Man United England Dortmund Germany Atlético Spain
Internazionale Italy Lazio Italy Dynamo Ukraine Leipzig Germany
Mönchengladbach Germany Rennes France Marseille France Club Brugge Belgium
Group E Group F Group G Group H
Sevilla Spain Paris France Juventus Italy Bayern Germany
Ajax Netherlands Man City England Shakhtar Ukraine Chelsea England
Atalanta Italy Krasnodar Russia Olympiacos Greece Salzburg Austria
Lokomotiv Russia Başakşehir Turkey Midtjylland Denmark Ferencváros Hungary
inker commented 3 years ago

@XanderBras, Barcelona cannot go to group E, because it's got a Spanish team Sevilla. Also, it cannot go to groups A-D, because one of those groups has got Real Madrid which Barcelona is paired with. So Barcelona can only go to groups G or H.

You can read about TV pairings here.

ajx8897 commented 3 years ago

I know Ukrainian teams can't be drawn with Russian teams but why can't shakhtar be drawn in other blue groups?

16015638487903522776658428168804

ajx8897 commented 3 years ago

Same thing happens with Ajax. Can't think of a reason why they're not allowed in blue groups. I checked the TV pairings. Ajax don't have any pairing for this year 16015640262148360125052502437899

xilefton commented 3 years ago

@ajx8897 in your scenario ManUtd, Barca, Atletico and of the City/Chelsea-pair have to be in a blue group because of the TV-pairs.