We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
try changing your else statement to return infinity instead of 0.0. The logic is that if the two squares move at a same pace, they will never leave q area as shown on the picture
Sherlock and Moving Tiles
You are viewing a single comment's thread. Return to all comments →
try changing your else statement to return infinity instead of 0.0. The logic is that if the two squares move at a same pace, they will never leave q area as shown on the picture