from Control import *
control = Control()
# Move towards the ball based on its position

# Assuming the ball is on the right side
for i in range(5): 
    control.turnRight()
control.stop()

for i in range(10): 
    control.forWard()
control.stop()

# If the ball is on the left side, change to turnLeft
# for i in range(5):
#     control.turnLeft()
# control.stop()

# Continue moving forward until reaching the ball
for i in range(10):
    control.forWard()
control.stop()
