Below is a basic version of Pong that I coded in Processing. You move your mouse up and down to move the paddle on the left side (and the ball does speed up the longer you last).