Randomness wrote...
this really doesn't solve the problem. it looks veeery buggy and doesn't work very often.
Is there a better way to solve this so I can move the player as fast as I want and the ball will still bounce?

for (int i=speed; i>0; i--) { move(1); bounce(); }