Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Escape by tokiojapan55
def escape(jar, fly):
W,H,d = jar
x0,y0,vx,vy = fly
sx = (W-d)/2
ex = sx+d
if vy==0:
return False
if vx==0:
return sx
June 23, 2020