/// <summary> /// Checks if a player's ship are placed, and are valid within the parameters of the match. /// </summary> /// <param name="player"></param> /// <returns></returns> public bool ShipsValid(Player player) { return(player.Ships != null && ShipList.AreEquivalentLengths(player.Ships, StartingShips) && ShipList.AreShipsValid(player.Ships, FieldSize) && ShipList.GetConflictingShips(player.Ships).Count() == 0); }