So I can win just by not pressing a key ?
Nope. Because then the ball will always bounce between your and Ai's paddles. So neither you, nor AI will win.
wisebug