public GameService() { randomShipsGenerator = new RandomShipsGenerator(); _ships = randomShipsGenerator.RandomizeShips(); }
internal GameService(IRandomShipsGenerator randomShipsGenerator) { this.randomShipsGenerator = randomShipsGenerator; _ships = randomShipsGenerator.RandomizeShips(); }