Press ESC to close

how to make a pong ai in javascript