Exemplo n.º 1
0
 static async Task Main(string[] args)
 {
     SimulationProps props = new SimulationProps()
     {
         numBlobs         = 100,
         numFood          = 20,
         percentageGreedy = 0.1,
         blobSensorSize   = 0.05,
         blobStepSize     = 0.05,
     };
     Board b = new Board(props);
     await b.Run(100);
 }
Exemplo n.º 2
0
 public Board(SimulationProps simProps)
 {
     this.simulationActive = false;
     this.simulationProps  = simProps;
 }