Saving a tournament is working
This commit is contained in:
@ -77,8 +77,8 @@ namespace TrackerLibrary
|
||||
{
|
||||
//Math.Pow(2, rounds);
|
||||
int output = 0;
|
||||
int totalTeams = 0;
|
||||
for (int i = 1; i < rounds; i++)
|
||||
int totalTeams = 1;
|
||||
for (int i = 1; i <= rounds; i++)
|
||||
{
|
||||
totalTeams *= 2;
|
||||
}
|
||||
@ -90,7 +90,7 @@ namespace TrackerLibrary
|
||||
|
||||
private static int FindNumberOfRounds(int teamCount)
|
||||
{
|
||||
int output = 0;
|
||||
int output = 1;
|
||||
int val = 2;
|
||||
while (val < teamCount)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user