I do have a project for a football fixture problem. My program should generate scores for a user's fixture or randomly fixture which is consistent. So i'm asking to you which point should i begin ?
best regards!
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I do have a project for a football fixture problem. My program should generate scores for a user's fixture or randomly fixture which is consistent. So i'm asking to you which point should i begin ?
best regards!
Can you clearly describe the difference between user's fixtures and randomly fixtures so that we could see what exactly you want.
Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.
- Henry Ford
User ll enter team numbers. So my program should reply with a random League Table and scores for the games. for example;
type the number of teams: 5
team A: 25 (pts) 45 (goal difference) 6 (played)
team B: 23 (pts) 32 (goal difference) 6 (played) and so on. Also there would be scores of games like these:
team A 7:1 team B
team C 2:0 team D etc.
Last edited by qwerty53; March 15th, 2012 at 02:27 AM.
So, if everything is randomized what do you need help in? Simply generate random scores for teams and then using the random number of each team, divide the goal scoring between two teams, keeping in mind which team leads the board.
Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.
- Henry Ford