I’ve made my fixture generating code available via a web page for those who don’t want to delve into programming in order to generate a fixture list.

Fixtures Generator (now in PHP as I didn’t want to have to install Tomcat again). Source code.

Skip to content
# League Fixtures Generator

##
333 thoughts on “League Fixtures Generator”

## Leave a Reply

Adventures in Computer Programming

I’ve made my fixture generating code available via a web page for those who don’t want to delve into programming in order to generate a fixture list.

Fixtures Generator (now in PHP as I didn’t want to have to install Tomcat again). Source code.

Hi, how would I generate this list without it making home and away games, I just want each team to play each other once. I don’t care about the home and away part of it. Please advise. Thanks.

You can just use the first half of the season to have everyone play each other once.

Thank you for the resource you have on the website ,I am a bit stuck in terms of solving the query on fixtures for 14 teams ,see below 1.I want a competition of 14 teams divided in to two pools of 7 teams each 2.Each pool will have games played on a home and away basis 3.Each team will play a cross over match once against each other team in the opposite pool 14 teams in two 7-team divisions, where each team plays the other 6 in its division exactly twice, and plays each team in the other division exactly once. I searched the web and got the attached result but not helpful.,if you dont mind in assisting the teams are below Region A Region B 1.KCB 1.Kabras 2.Strathmore 2.Nakuru 3.Mwamba 3.Impala 4.Homeboyz 4.Nondies 5.Western Bulls 5.Harlequins 6.Mean Machine 6.Blakblad 7.Thika 7.Sharks

Hi I have 12 teams with two venues having two teams how do i generate a fixture list without these teams both being at home or away at the same time. what is the rule. Thanks

@Sharon – If you use the fixtures generator above you can use any of 1&7, 2&8, 3&9, 4&10, 5&11 and 6&12 as the two teams that share a location.

Thank you

I cant seem to find a good website to generate a fixture list . I used your rule but it came up as both teams away on same week and home on same week. 12 teams two venues with two teams so must have one at home one away every week. Please help . Thanks sharon

Direct link to 12 teams fixtures: http://bluebones.net/fixtures.php?teams=12 Note that 1&7 are never at home at the same time. Same applies to the other pairs.

Hello Fixtureman, Can you assist in 1.I want a competition of 14 teams divided in to two pools of 7 teams each 2.Each pool will have games played on a home and away basis 3.Each team will play a cross over match once against each other team in the opposite pool 14 teams in two 7-team divisions, where each team plays the other 6 in its division exactly twice, and plays each team in the other division exactly once. I searched the web and got the attached result but not helpful.,if you dont mind in assisting the teams are below Region A Region B 1.KCB 1.Kabras 2.Strathmore 2.Nakuru 3.Mwamba 3.Impala 4.Homeboyz 4.Nondies 5.Western Bulls 5.Harlequins 6.Mean Machine 6.Blakblad 7.Thika 7.Sharks

any word on mine ?

I am trying to arrange a league for 6 pairs but only 2 matches will be played each week (therefore 4 pairs a week) is there an easy way of generating the league fixtures for this?

Jacob, here’s a suggestion (if I understand your problem correctly): WEEK 1: AvF and BvE WEEK 2: CvD and EvF WEEK 3: AvD and BvC WEEK 4: DvF and E vC WEEK 5: AvB and CvF WEEK 6: DvB and EvA WEEK 7: BvF and CvA WEEK 8: DvE I’ve called the pairs A, B, C, D, E, and F. If you insist on just 2 matches a week, and if all pairs are to play each other, then there will be one one-match-week

http://www.barrychessclub.org.uk/berger2001.htm This link is no longer on the web, but you reference it in teh generator. Im looking to find again how to place teams that cant place at home in the same week. ( this was all on the link a few years ago and i cant get the details. Have you kept a record as to how this was set up or where can i find it on web, Looked for an hour now and cant see anything that will help me as i have used the 10 players before now need 12 and 14 with no clashes,

Sorry i found an older post below where 12 teams no clash in venue are 12 = 1&7, 2&8, 3&9, 4&10, 5&11, 6&12 (not at home same week) would 14 then = 1&8, 2&9, 3&10, 4&11, 5&12, 6&13,7&14 be correct. If yes please ignore previous email. Funny i spend a time looking for the answer then make a post here (then see the comments older and find the results) Thanks Martin

Martin – That’s correct. It’s always the case that 1&(number of teams / 2)+1 never play at home at the same time. Same for 2&(number of teams / 2)+1 and so on.

Martin – That’s correct. It’s always the case that 1&(number of teams / 2)+1 never play at home at the same time. Same for 2&(number of teams / 2)+2 and so on. Regardless of the number of teams in the competition.

Hi, This is exactly what I needed, absolutely spot on, turned a potentially difficult job into something very easy, Many thanks, it’s much appreciated, Dave

Hi I’m trying to get a fixture list for 24 darts players playing on one board. The problem I have is that I want different player playing at different order every week.can this be done

please help me this round robin fixture generate source code using php and mysql database

What is the rule for not having the same two teams playing at same venue when you have 10 teams with two teams at two same venue’s.(so just 8 venues) Also is this rule same for 11 and 12 teams. My league has a posssible of 12 teams with up to 3 venus’s having two teams at each. Which can’t play at same time home and away fixtures. Help please Thanks Sharon

@Sharon – For ten teams the teams that don’t play at home at the same time are 1 and 6, 2 and 7, 3 and 8, and so on. For 11/12 teams it’s 1 and 7, 2 and 8, 3 and 9, and so on.

We have 11 teams in a quiz league – 3 of the pubs have two teams, so your 1&7 etc home/away rule at first sight looked like the ideal solution. BUT the teams which live at the same pub do need to play against each other – and this doesn’t seem to happen when I feed in the data. Is there a workaround? Many thanks – Nick

Sorry – I must have made a deliberate misfale. All working fine now – brilliant!

Hi I am trying to produce a fixture list of 10 teams playing each other twice. I have tried a few fixture generators but I get some teams having to play at home or away on consecutive weeks. Is there any way that this can be avoided. I look forward to any suggestions. Kind Regards. Joseph.

Having worked it all out it is impossible to avoid the teams playing at home or away twice on consecutive weeks.

See https://en.wikipedia.org/wiki/2-satisfiability and particularly https://en.wikipedia.org/wiki/2-satisfiability#Scheduling; this is mathematical proof that only two teams can have alternating home and away fixtures in any fixture schedule

hello all not sure if its possible but I have a small competition event to set fixtures for there are 7 teams and 3 pitches, only have time for 3 rounds before finals so preferably I would like each team to play on each pitch against any 3 teams is this possible!!!! any help gratefully received.

I have 12 teams playing on the same venue each week, each team play 20 minute game. 3 teams on the one pitch each hour, eg, 2 teams play, 1 team spare, then they swop around and each team plays each other. eg,,1 v 2, 2 v 3. 1 v 3. I have the pitch for 4 hours so I can play the 12 teams on the one day. how do I get fixtures for the teams for the season so they play each team twice.

Hi , I have 6 teams and I want to generate a fixture that each team plays each other 3 times, appreciate your help

HIE HOW CAN I GENERATE A FIXTURE OF 10 TEAMS, I DID IT MANUALY TO WEEK 6 SO I NEED FROM WEEK 7 GOING FORWAD ADVICE PLEASE

Hi i have two leagues of six teams only problem is four of the venues have two teams so i need these teams not clash how would i do this please?

Firstly, multiple thanks to bakert. Brilliant! I struggled with the problem of venues with two teams. Finally it clicked. When you make your list of 10 teams, place Team ‘A’ of the first two-team venue at the top. Then, if necessary, place Team ‘A’ of the next two-team venue next. Carry on listing BUT make sure that Team ‘B’ of the first two-team venue is sixth in the list and Team ‘B’ of the next two-team venue is seventh in the list. Then, as bakert notes earlier, it goes 3 and 8, and so on. For 11/12 teams it’s 1 and 7, 2 and 8, 3 and 9, and so on.

HI THERE I AM RUNNING A LEAGUE OF 6 TEAMS ON HOME & AWAY BASIS HOWEVER 2 OF MY TEAMS WILL PLAY THEIR HOME MATCHES AT THE SAME VENUE ON ALTERNATIVE WEEKS. HOW CAN I DO FIXTURES SO THAT THEY DO NOT CLASH AT HOME (APART FROM PLAYING EACH OTHER) OR BOTH ARE AWAY ON SAME WEEK