Esempio n. 1
0
 private void SetComputerShips(Player p, RandomShipPlacementService rsps)
 {
     while (p.Ships.Count > rsps.OccupiedCoordinates.Count)
     {
         var theShip = p.Ships[rsps.OccupiedCoordinates.Count];
         rsps.PlaceShipRandom(theShip);
     }
 }