Let me help you sir, First of all, Thank you for your Compliment on our Graphics and Game Idea. To keep the pigs alive for a long time, try taking them out of the safe area from time to time! As Commented by Our Developer: They are a Really "Depresso" and as it is written in the Guide in the Game, they die of boredom when they stay inside for a long time. 🙏💛