I want to know if a turtle is in the same place as it was before (for a maze game in python). I tried:
import turtle
c == 1
a = turtle.Turtle()
b = turtle.Turtle()
b.fd(100)
while c == 1:
a.fd(10)
if a.is_collided_with(b):
print("Collision")
break
The problem is that it says that there is no such thing as .is_collided_with()
(it might because I'm using python 3.9.1).
Is there a way to do this without using several turtles?
Thanks