0
Make a tournament scheme draw...
Hey guys, I was lacking any will to sleep so in the past 3-4 hours I created a Fights Simulator game in .NET ( I can't post the code here because it containts several classes and interfaces and I'm lazy ). Anyway , i wan't to implement a method that makes the scheme of a large tournament by some sort of algorythm (cuz first I made it with for loop so that fighters [i] fights vs fighters [fighters.Length - i - 1] but it ain't cool...) I was thinking of random generator but i want weaker to fightstronger
1 Odpowiedź
+ 3
Maybe you could make a class for the fighters with name and rank properties, so the fighter objects can be matched by rank. So if rank is low, fight another fighter with higher rank.