PDA

View Full Version : Rugby League Manager



KIERIOSHIMOTO
September 2nd, 2005, 06:29 AM
Hey guys,
Long time since I've been on here but I'm working on this Online Rugby League Manager tournament and was wondering if some can add me to msn and help me with a randomization code that i can use to determine the scores of the games while taking the skill of the team in consideration.

Thanks in advance
kez

stuartRowe
September 3rd, 2005, 04:01 PM
well basically you can use a pre-assigned value correpsonding to the teams skill, and use it as a multiplier. Then you can generate a random number (need to use AS dictionary to get the actual code) between 0 and say (10*teams skill) and then compare the results of the two teams, the team with the greater number wins the game, and you could even use the difference as the score margin. So bascially a better team has a chance to generate a higher score. I hope this helps!