python – Detecting a collision between turtles/out of bounds/a line of the turtle and a turtle

So I’m coding a tron ​​game in turtle and the last part I need to do is to code the collisions between the turtles themselves, out of bound collisions, and collisions between the line made by the a turtle and the other turtle. I coded the out of bound collisions and they didn’t work, and … Read more