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.

Results 1 to 4 of 4

Thread: Need help about Football Fixtures Algorithm!..

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    7
    My Mood
    Yeehaw
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Need help about Football Fixtures Algorithm!..

    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!


  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Need help about Football Fixtures Algorithm!..

    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

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    7
    My Mood
    Yeehaw
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Post Re: Need help about Football Fixtures Algorithm!..

    Quote Originally Posted by Mr.777 View Post
    Can you clearly describe the difference between user's fixtures and randomly fixtures so that we could see what exactly you want.

    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.

  4. #4
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Need help about Football Fixtures Algorithm!..

    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

Similar Threads

  1. Making Coin Toss for Football game
    By tyb97 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 2nd, 2011, 02:00 PM
  2. Football Betting System
    By johndingli in forum Object Oriented Programming
    Replies: 5
    Last Post: June 29th, 2011, 08:44 AM
  3. Fantasy Football Offline Draft Manager Program
    By aussiemcgr in forum Java Theory & Questions
    Replies: 0
    Last Post: September 6th, 2010, 09:52 AM
  4. Football League Table - Idea's?
    By RSYR in forum Java Theory & Questions
    Replies: 1
    Last Post: December 15th, 2009, 07:43 PM
  5. Football Results
    By RSYR in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 4th, 2009, 07:24 PM