473,395 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

auto-generate a fixture list

Hi Guys

I need logical help

The best way that I can explain what I want is if you could do the
following:

1) Go to http://www.fixturelist.com/createalist.php

2) Name doesn't matter put test.

3) Type of participant = Team.

4) Number of participants = 10

5) Frequency = Weekly

6) Number of Meetings = Home and Away.

7) Click the Continue button.

8) A, B, C, D, etc for the 10 team names and click the Continue button.

The results that are generated are exactly what I am after. The bonus of
running this is that the fixtures are different everytime you generate it,
but every team still plays each other the correct number of times.

Do you know how to emulate this in VB code?

Rgds

Laphan
Jul 19 '05 #1
3 5978
Do you want to duplicate this? (VB code? VBS?) Okay, sure, there are a
number of people here who could certainly do it, but I don't know that
anyone will just go and do it for fun and post it here for you. What part
are you stuck on?

Ray at work

"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
Hi Guys

I need logical help

The best way that I can explain what I want is if you could do the
following:

1) Go to http://www.fixturelist.com/createalist.php

2) Name doesn't matter put test.

3) Type of participant = Team.

4) Number of participants = 10

5) Frequency = Weekly

6) Number of Meetings = Home and Away.

7) Click the Continue button.

8) A, B, C, D, etc for the 10 team names and click the Continue button.

The results that are generated are exactly what I am after. The bonus of
running this is that the fixtures are different everytime you generate it,
but every team still plays each other the correct number of times.

Do you know how to emulate this in VB code?

Rgds

Laphan

Jul 19 '05 #2
Hi Ray

Thanks for the lightening fast reply.

To be honest, I have the team names and want it to be home and away, it's
just the logic of how to create 18 'weeks' of non-duplicated fixtures apart
from the home and away aspect.

At present, I have entered all of the fixtures manually using this web site
(90-odd or so) and then set a 3rd field/array to store each 'block' of
fixtures, eg the first 10 fixtures are section 1, the next 10 fixtures are
section 2, etc and then I've created a 4th field that randomly jumbles these
sections up so that section 1 might be on week 3 and section 7 might be on
week 1, etc.

Not very elegant compared to the one on the web site, which did a random
selection without any conflicts of having the same team playing twice, three
times in the same week AND doesn't even fall foul of a team playing 4 home
fixtures and then 3 away fixtures and so on.

It's exactly what I want, but I just can't get my head round it.

Rgds

Laphan
Ray at <%=sLocation%> <myfirstname at lane34 dot com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
Do you want to duplicate this? (VB code? VBS?) Okay, sure, there are a
number of people here who could certainly do it, but I don't know that
anyone will just go and do it for fun and post it here for you. What part
are you stuck on?

Ray at work

"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
Hi Guys

I need logical help

The best way that I can explain what I want is if you could do the
following:

1) Go to http://www.fixturelist.com/createalist.php

2) Name doesn't matter put test.

3) Type of participant = Team.

4) Number of participants = 10

5) Frequency = Weekly

6) Number of Meetings = Home and Away.

7) Click the Continue button.

8) A, B, C, D, etc for the 10 team names and click the Continue button.

The results that are generated are exactly what I am after. The bonus of
running this is that the fixtures are different everytime you generate it,
but every team still plays each other the correct number of times.

Do you know how to emulate this in VB code?

Rgds

Laphan



Jul 19 '05 #3
Anybody any ideas???

Rgds

Laphan

Laphan <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
Hi Ray

Thanks for the lightening fast reply.

To be honest, I have the team names and want it to be home and away, it's
just the logic of how to create 18 'weeks' of non-duplicated fixtures apart
from the home and away aspect.

At present, I have entered all of the fixtures manually using this web site
(90-odd or so) and then set a 3rd field/array to store each 'block' of
fixtures, eg the first 10 fixtures are section 1, the next 10 fixtures are
section 2, etc and then I've created a 4th field that randomly jumbles these
sections up so that section 1 might be on week 3 and section 7 might be on
week 1, etc.

Not very elegant compared to the one on the web site, which did a random
selection without any conflicts of having the same team playing twice, three
times in the same week AND doesn't even fall foul of a team playing 4 home
fixtures and then 3 away fixtures and so on.

It's exactly what I want, but I just can't get my head round it.

Rgds

Laphan
Ray at <%=sLocation%> <myfirstname at lane34 dot com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
Do you want to duplicate this? (VB code? VBS?) Okay, sure, there are a
number of people here who could certainly do it, but I don't know that
anyone will just go and do it for fun and post it here for you. What part
are you stuck on?

Ray at work

"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
Hi Guys

I need logical help

The best way that I can explain what I want is if you could do the
following:

1) Go to http://www.fixturelist.com/createalist.php

2) Name doesn't matter put test.

3) Type of participant = Team.

4) Number of participants = 10

5) Frequency = Weekly

6) Number of Meetings = Home and Away.

7) Click the Continue button.

8) A, B, C, D, etc for the 10 team names and click the Continue button.

The results that are generated are exactly what I am after. The bonus of
running this is that the fixtures are different everytime you generate it,
but every team still plays each other the correct number of times.

Do you know how to emulate this in VB code?

Rgds

Laphan



Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Manlio Perillo | last post by:
Hi. This post follows "does python have useless destructors". I'm not an expert, so I hope what I will write is meaningfull and clear. Actually in Python there is no possibility to write code...
1
by: Lew | last post by:
Hi all, I'm trying to create a page that has a user-selectable page auto-refresh option (IE 5.5). Essentially, it's a page that contains a checkbox, when the user checks the checkbox, I'd like...
1
by: Glabbeek | last post by:
I'm changing the layout of my site. Instead of using tables, I will use DIVs. It's working fine, except for 1 thing: In IE6 some DIVs are not the correct width. Mozilla and Opera are showing the...
2
by: Tom | last post by:
I am trying to store information into a table that has an auto increment field. There is currently no data in the table. Using the code below I cannot insert data into the table. I get an error...
9
by: Alan Mackenzie | last post by:
To all those who use (X)Emacs's CC Mode to edit C, C++, Java, Objective-C, Pike, AWK or IDL: To help direct the development of CC Mode, it would be useful to find out how people use the...
20
by: Vijay Kumar R. Zanvar | last post by:
Hello, Unlike register, auto keyword can not be used to declare formal parameter(s). Is there any specific reason for this? Kind regards, Vijay Kumar R. Zanvar
5
by: maya | last post by:
at work they decided to center divs thus: body {text-align:center} #content {width: 612px; text-align:left; margin: 0 auto 0 auto; } this works fine in IE & FF, EXCEPT in FF it doesn't work if...
22
by: nospam_news | last post by:
I currently get asked about my usage of "auto". What is it for? The keyword is clearly superflous here. In contrast to the huge majority of C/C++ developers I write definitions very explicitly...
2
by: Piotr K | last post by:
Hi, I've encountered a strange problem with Firefox which I don't have any idea how to resolve. To the point: I've <divelement with a style "height: auto" and I want to retrieve this value...
21
by: JOYCE | last post by:
Look the subject,that's my problem! I hope someone can help me, thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.