Ejemplo n.º 1
0
 public GameControl(MinesweeperOptions options)
 {
     Size      = options.Size;
     MineCount = options.MineCount;
     _setBomb  = SetFirstBomb;
     _gameMap  = this.CreateMap();
 }
Ejemplo n.º 2
0
 public static IGameControl CreateControl(this MinesweeperOptions options)
 => new GameControl(options);