Pong Applet
Java Code
+ 2 likes
Please Register to submit score.
| Average Score | 6.5 (of 2 scores) |
| Date Added | Apr 10, 2009 |
| Last Updated | Apr 14, 2009 |
| Tags | applet ball classic game java paddle ping pong site swing |
Introduction
You can play it right here! (As long as you've installed the java plugin, obviously...)
Screen:
Java Snippet:
Pong Applet
Posted on Apr 10, 2009 8:49 pm
Posted on Apr 10, 2009 8:49 pm
Cool md.
I played it but when I lost, the ball couldn't be reset unless I refreshed the page. Want to add a macro to restart the game? Would be nice.
Unless, that's also what you meant by
I played it but when I lost, the ball couldn't be reset unless I refreshed the page. Want to add a macro to restart the game? Would be nice.
Unless, that's also what you meant by
| Quote: |
| so it's not "predicted" where the ball will go. |
Java Snippet:
Pong Applet
Posted on Apr 10, 2009 9:06 pm
Posted on Apr 10, 2009 9:06 pm
Forgot about that, updated. Tomorrow I think I'm gonna try to figure out the varied speed and make the computer "vulnerable", so there can be a score and stuff.
Java Snippet:
Pong Applet
Posted on Apr 11, 2009 1:52 am
Posted on Apr 11, 2009 1:52 am
Very nice your getting to good at java :O
Java Snippet:
Pong Applet
Posted on Apr 11, 2009 4:13 pm
Posted on Apr 11, 2009 4:13 pm
Good update on game reset.
Java Snippet:
Pong Applet
Posted on Apr 11, 2009 11:47 pm
Posted on Apr 11, 2009 11:47 pm
Very cool, I just compiled and ran it on Eclipse and it worked perfectly. I just couldn't figure out how to restart the game after I lost. Would also be nice if it kept score and there was a way to actually trick the computer into missing.
Java Snippet:
Pong Applet
Posted on Apr 14, 2009 12:25 pm
Posted on Apr 14, 2009 12:25 pm
* Added a little title screen; will go to that when you lose
* Increased the speed a little
* Added a score based on how many returns you hit
* Increased the speed a little
* Added a score based on how many returns you hit
Java Snippet:
Pong Applet
Posted on Apr 14, 2009 12:53 pm
Posted on Apr 14, 2009 12:53 pm
Wow, increased the speed a "little" eh? More like a lot! I like the improvements though, good job.
Java Snippet:
Pong Applet
Posted on Apr 14, 2009 2:30 pm
Posted on Apr 14, 2009 2:30 pm
There has to be some challenge to it :)
Java Snippet:
Pong Applet
Posted on Jun 16, 2009 4:26 am
Posted on Jun 16, 2009 4:26 am
How about some double buffering? If you need help doing it, I'd be glad to help. You know where to find me :)! (yes, it is very fast too hehe)
Also, I would add this.requestfocus(); to the init event.
Also, I would add this.requestfocus(); to the init event.
Java Snippet:
Pong Applet
Posted on Nov 16, 2009 1:04 pm
Posted on Nov 16, 2009 1:04 pm
awesome script moutaindew! You're the best!












