In the java game Pong, how do you defeat the computer? What is the code, method, or whatever that allows you to defeat the comp. please help me i need to turn this in for class. I need help. Anything will be appreciated. thanks
EDIT:
So pretty much my class has received the assignment of editing the code given to us so the Player we create defeats the computer. In this case, the computer is WON and the player we must create is Pan.java. I'm using emacs to try and come up with a solution for this however I have not gotten anywhere. I need my player to play itself, and directly defeat the computer.