This is a project I'm working on about little creatures that can evolve, it is far from done and I would really like some help with some codes and ideas. This is what I want the project to be: These little creatures have a brain, at first, their brain has absolutely no connections, but when they're lucky, they can be born with a mutation to move forward, if they are then lucky, they run into food, they can use food to lay eggs and when there is a new creature born out of those eggs, they can be born with mutations and develop more brain connections, for example, They can learn to turn towards food when they see food, they also have basic genes: speed, color, size, laytime, mutation factor and a few more. The brain development system works with inputs and outputs, when they develop the inputs can connect with any of the outputs possible (although there is a higher chance of it making sense) but they can also move backward when they see food for example
help needed pls, the breeding of the creatures doesn't work that good and I would really wanna change how and when they lay eggs, but nothing seems to work, if you know a bit of coding I would really appreciate it if you look inside the code and help a bit (i hope you can understand the code it might be a bit chaotic lol) I would also really appreciate some help on how to let clones point towards the closest clone of another sprite and on how to see certain variables of a specific clone (if that's even possible) this project is based on the bibites (search on google if you want more information about that project)