Exemple #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);
 }
Exemple #2
0
 public Board(SimulationProps simProps)
 {
     this.simulationActive = false;
     this.simulationProps  = simProps;
 }