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

##
364 Replies to “League Fixtures Generator”

### Leave a Reply

Adventures in Computer Programming – bakert@gmail.com

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

HALLO. I AM RUNNING THREE LEAGUES OF EIGHT TEAMS IN EACH LEAGUE. SOME OF THESE VENUES HAVE THREE TEAMS AND SOME HAVE TWO TEAMS. CAN YOU GIVE ME A FORMAT SO THAT THE TEAMS WITH TWO TEAMS DON’T PLAY HOME ON THE SAME NIGHT. ON THE THREE TEAMS I KNOW TWO OF THE TEAMS WILL HAVE TO PLAY HOME ON THE SAME NIGHT.

I have three leagues of eight teams in each league. Some of the teams have two sides and some have three sides. What have i got to do to make sure these teams do not play home at the same time.

Hi There are 10 venues in our League, each having 2 Teams. How can I make sure that no 2 teams from the same venue are at home on the same date. Thanks Robert

@Robert – If you generate a list for 10 teams and use 1&6, 2&7, 3&8, 4&9 and 5&10 you will fulfill your requirements.

Hello, I’m trying to create some fixtures for a fifa league I created but I’m having a little trouble Because I’m not only having them play twice throughout the season but I want to make 2 matches a night without having them overlap, please help ASAP

Hi – reaching out to Fixtureman as the link to his file bucket doesn’t work, neither is there a click-through from his posts, and I am looking for his 10 and 12 team fixture plan. If you are still around could you let me have an updated link please? Or does someone else have it – if so could you email it to me please at chigginbottom (at) btinternet.com

Is it possible to add a download to excel feature?

I have four teams in a darts and domino league but two are at the same venue A n B team I need to play home and away for all teams

How do I prevent two teams with the same ground both being at home on same date when one plays in a division of ten and one plays in a division of eight. Help please

You are a fixtures God!! Knowing the 1&(size/2)+1 rule for two teams at one site is good to know! Many thanks, Mik

Found your code snippet somewhere and just wanted to say thank you

How can i allocate match officials here from an array…..

Thank you for the resource you have on the website ,I am a bit stuck in terms of solving the query on fixtures for 12 teams ,see below 1.I want a competition of 12 teams divided in to two pools of 6 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 12 teams in two 6-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 I got a draft fixture but there seems to be an issue with the number of home and away matches as attached

HELLO. IAM RUNNING 3 DIVISIONS, D1, D2 & D3. THE PROBLEM IS THE FOLLOWING: IN D1 I HAVE 9 TEAMS AND IN THE OTHERS D2 & D3 8 TEAMS EACH. IS THERE ANY WAY TO GENERATE THE SCHEDULER TO AVOID A CLASH FOR A NUMBER OF TEAMS (3 OR 4) FROM D1 9 TEAMS AND THE OTHER 8 TEAMS DIVISIONS? BECAUSE SOME TEAMS IN D1 SHARE THE SAME VENUES WITH THE LOWER DIVISIONS.

Hi I have 4 sections of 10 teams & 1 section of 8 teams in the league. Some of the teams have two sides. What is the combination of numbers i need to do to make sure these teams do not play home at the same time. Thanks Ron

We have 16 players playing a total of 30 weeks. We play 5 games each week. I tried your generator but it makes number 16 first in each round. Is that a way to generate numbers so a different player starts each week. We do it manually but some times gewt lost in trying to figure who plays how.

Hi I have a problem looking to be solved. I have 3 grades. 3 a grade team, 5 b grade and 3c grade. I wish to make a draw so that a grade can play themselves and b grade. B grade plays themselves and c grade. And c grade plays themselves and c grade. Hoping to get a full round of these then make up the games a and c grade lose by playing each other.