basic version of the bouncing ball game