As you can see, this is the same result as my old AI, the same fault on the left under corner. But watch this, this is why this code is better. On the top right, you can see the console reports, I made it that it tells me what the AI wants to do, and if it tries to eat a piece with itself, I get an " AI Failed " message. I might change that to an error report so it's more clear. But what happens is now better visible and not only that, the code is so clean and understandable ... I'm just loving it. Now all I need to do is complete the button codes, write the code for saving the variables, and write a code that makes the AI evolve.