Results 1 to 2 of 2

Thread: My football game

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    5

    Question My football game

    I currently designing a football game i have inserted a database into VB6 with all the imformation i need.
    I currently have 8 teams and am trying to make like a small cup game.
    The game works but i have to select the tea,s myself.
    I want to be able to draw the teams out or just by clicking on the home and away teams randomly select a team but i don't want the teams to be the same in the home and away text boxes.
    For working out the score i have used randomize
    would it be possible to put text box next to each player to tell you who has score in a match or would this be too difficult any ideas?

  2. #2
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276

    Re: My football game

    Originally posted by ForestBoy

    I want to be able to draw the teams out or just by clicking on the home and away teams randomly select a team but i don't want the teams to be the same in the home and away text boxes.

    Easy. Pick a random number up to the number of teams you have and that is the 'home' team. Do the same for the 'away' team - if it's the same as the home team then pick again.


    For working out the score i have used randomize
    would it be possible to put text box next to each player to tell you who has score in a match or would this be too difficult any ideas?

    It should be easy enough, but I'm not too sure why you're stuck on this - could you give us some more information?
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width