Ad
  • Custom User Avatar

    nothing to do anymore about that, so, resolving...

  • Custom User Avatar

    In the Description under the Output header:

    • contact point ([x,y]) of the hookshot if the enemy can be hooked (rounded to nearest integers)

    In your graph the line passes around the x-coordinate 178.8, which rounds to 179.

    Also it looks like the timing for the two moving objects is off for your solution. After finding the slope and distance, we find that the runner reaches the "hook contact" coordinates at the 0.7565852776832743 second mark, whereas the kata has 0.7639723325225893 seconds.

    If Pudge launches his hook toward the point you got, it takes 0.7664464692655989 seconds, which means he misses his target because it's off by ~10 ms. If Pudge launches toward the kata's expected point, it takes 0.7645153431221661 seconds, which rounds to the same time in milliseconds as the runner.