A key-controlled bouncing ball