Hit the flag then hold when you whant the ball to stop. The amount of time you have until the red beam comes is in the top right corner. If the time left in the top left corner is 0 then you go back to the bottom and it restarts. If you are moving when the red hits you go back to the bottom. Touch the black line at the top to win. Yes,it is possible I have done it.
This is inspired by “touch the wall” by VooDoo but I coded it all by myself.