public GameControl(MinesweeperOptions options) { Size = options.Size; MineCount = options.MineCount; _setBomb = SetFirstBomb; _gameMap = this.CreateMap(); }
public static IGameControl CreateControl(this MinesweeperOptions options) => new GameControl(options);