public static void Main(string[] args) { Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); AppConfig.Data.UpdateFromConfig(); Console.ReadLine(); var simulator = new BattleSimulator(new MT19937Generator()); simulator.InParallel = args.Length > 0 && args.Any(arg => arg.Contains("par")); simulator.LogGames = args.Length > 0 && args.Any(arg => arg.Contains("log")); while (true) { simulator.Run(); } }
public static void Main(string[] args) { Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); AppConfig.Data.UpdateFromConfig(); Console.ReadLine(); var simulator = new BattleSimulator(new MT19937Generator()); simulator.InParallel = args.Length > 0 && args.Any(arg => arg.Contains("par")); simulator.LogGames = args.Length > 0 && args.Any(arg => arg.Contains("log")); while (true) { simulator.Run(); } }