12-17-2005, 03:59 PM
Can anybody help me make this little program, i know the basics but need help with the math.
i want a random generator to choose who plays who
i want a random generator to choose who plays who
Football Scheduler
|
12-17-2005, 03:59 PM
Can anybody help me make this little program, i know the basics but need help with the math.
i want a random generator to choose who plays who
12-17-2005, 04:40 PM
Let us see what you have so far, and we can go from there.
12-17-2005, 05:11 PM
it depends on a few factors
if the number of teams is in the 2 ^ series ie 2,4,8,16,32 it is very easy to do a simple one where each team draws a random team, then the winners are drawn for the next stage etc. for a football season style where each team plays every other team twice it is also quite easy things like the world cup where you have group stages might be a little trickier so it depends on what type of calender, competition you are holding, post some more details and someone will probably help
12-18-2005, 07:03 AM
Quote:Can anybody help me make this little program, i know the basics but need help with the math.The points made by yetifoot about different football seasons are true, but you did say that you want to choose teams at random. So here's some code to get you started with the random selection of two teams each time. Let's assume that you have a total of 16 teams. I added a little test to make sure that the second random team number is not equal to the first. Code: DECLARE FUNCTION RandInt% (lower, Upper) ***** |
« Next Oldest | Next Newest »
|