Up arrow to go up, down arrow to go down. (Or W and S)
The ai is bound to human limitations. It doesn't follow the ball's y. It controls if it goes up or down. The ai is good, but only almost perfect. When the ball gets fast, you will know what I mean.