Hex is done and working

This commit is contained in:
2020-12-16 04:50:21 -07:00
parent f8ce6d0c83
commit e8ffbd3151
19 changed files with 1123 additions and 282 deletions

View File

@@ -15,34 +15,14 @@ namespace ConsoleApp
static void Main(string[] args)
{
_bootstrapper = BootStrapper.BootstrapSystem(new CoreModule());
var simResults = _bootstrapper.Resolve<ISimulationResults>();
_userConsole = new UserConsole();
Initialization();
GenerateImages();
simResults.WriteResults();
Console.WriteLine("Program Completed");
}
private static void GenerateImages()
{
// var generateMap= "python3 ConsoleApp/plot.py";
// System.Diagnostics.Process.Start("CMD.exe",generateMap);
//
var file = Path.Combine("./",Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"plot.py");
ProcessStartInfo startInfo = new ProcessStartInfo()
{
FileName = "python3",
Arguments = file,
UseShellExecute = true
};
Process proc = new Process()
{
StartInfo = startInfo,
};
proc.Start();
while (!proc.HasExited)
{
Thread.Sleep(500);
}
}
private static void Initialization()
{