public List<Command> getCommand(Snapshot snapshot) { return new List<Command>(); }
public static string fromElementsToString(Snapshot snapshot) { return "S"; }
private static void Run() { int currentIteration = 1; List<Command> nextAction = new List<Command>(0); System.Console.WriteLine(""); System.Console.WriteLine("Starting to run simulation"); while (currentIteration <= MaxIterations && !Client.Stop) { System.Console.Write("Turn: " + currentIteration); Snapshot gameStatus = new Snapshot(ServerConnection.Recieve()); nextAction = logicComponent.getCommand(gameStatus); SendCommand(nextAction); currentIteration++; } System.Console.WriteLine("End of game"); }