private void DestroyDeadCardsForPlayer(Player player)
    {
        foreach (Ship ship in player.Ships)
        {
            if (ship.CurrentHealth < 1)
            {
                ClearAnythingTargeting(ship);
                player.Ships.Remove(ship);
                GameViewController.RemoveDeadCard(ship);
            }
        }

        foreach (Shipyard shipyard in player.Shipyards)
        {
            if (shipyard.CurrentHealth < 1)
            {
                ClearAnythingTargeting(shipyard);
                player.Shipyards.Remove(shipyard);
                GameViewController.RemoveDeadCard(shipyard);
            }
        }
    }