You're right, unfortunately I didn't have enough experience to get the game to a fully working state. The ability to outwit the ball was not originally planned, so we end up with unpredictable behavior. Also, there should not be an end to the game, the idea was an endless runner for points.
But this bug still inspired me to implement the ending :) If you run away from the ball, the player is doomed to an endless chase among the platforms. If you managed to cheat, you get the "true" ending.
Thanks for your feedback, it really means a lot to me!