When the space bar is pressed, Rita should hit the ball. The ball should then move along the line till it reaches the black hole, where it hides. However this is not happening, as the ball doesn't reach the black hole and hide. Also, sometimes the ball is hidden in the beginning! Can you debug it?