This time, the ai can eat and breed. They start off as 10 cats. The cats will naturally be attracted to one another. They will strive to be able to breed, and also eat Updating this project soon. I need to focus on MyBudgie. :()()() _meow_ Sometimes the breed counter exceeds 7, in that case, restart the project. When the cats eat they become bigger. When they have enough motivation to breed, they will. Two cats will spawn another cat. Sometimes the cats will huddle up onto the edge. Leave them be.
The chance variable indicates the chance they will move in one of 4 directions. They all have the same chance, because it is a global variable. That's why they tend to be next to eachother. If the breed variable is 5 or 6, they will breed. TotalDrank is the amount of milk the cats have drunk.