When the AI snake self-running, I notice that the snakehead has passed through its body, So the self-death detection does not works well.
Created attachment 103 [details] Code implementation The reason is implicit, therefore I just change the way to detect whether the snakehead collides its body or not.
Just change the self-death detection method.