pushing for zac
This commit is contained in:
@@ -4,9 +4,35 @@ namespace ConsoleApp
|
||||
{
|
||||
class Program
|
||||
{
|
||||
private static UserConsole _userConsole;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
_userConsole = new UserConsole();
|
||||
StartSimulation();
|
||||
}
|
||||
|
||||
private static void StartSimulation()
|
||||
{
|
||||
_userConsole.PrintStartMenu();
|
||||
var input = _userConsole.GetUserInput();
|
||||
if (input == "1")
|
||||
{
|
||||
var (x,y) = _userConsole.GetMapDimensions();
|
||||
RunSimulation(x, y);
|
||||
}
|
||||
else
|
||||
{
|
||||
_userConsole.PrintInvalidInput();
|
||||
StartSimulation();
|
||||
}
|
||||
}
|
||||
|
||||
private static void RunSimulation(int x,int y)
|
||||
{
|
||||
var bootStrapper = new Bootstrapper
|
||||
var simRunner = new SimRunner();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user