Updated keno numbers and removed logging from GetRandomNumber

This commit is contained in:
barelyprofessional
2025-10-06 12:06:13 -05:00
parent 7fbd99e472
commit 9524beb95b
2 changed files with 1 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ public class KenoCommand : ICommand
var repeatNum = true;
while (repeatNum)
{
var randomNum = Money.GetRandomNumber(gambler, 1, 10);
var randomNum = Money.GetRandomNumber(gambler, 1, 40);
if (numbers.Contains(randomNum)) continue;
numbers.Add(randomNum);
repeatNum = false;

View File

@@ -436,7 +436,6 @@ public static class Money
i++;
result = random.Next(min, max);
}
_logger.Info($"Generated random number {result} with min {min} and max {max} over {iterations} iterations");
return result;
}