This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Pong

Return to Pong

SharalethSharaleth

2010/5/23

Pretty fun. Add two player soon, the AI sucks too much to provide a challenge. xD
LaurelinadLaurelinad

2010/5/23

Nice, one of the best pongs here on Greenfoot Gallery.
potus2037potus2037

2010/5/23

You really, really need to add color, 2 player, and a feature were if one of the scores hits, say, 15, the game stops. (I could add 2 player for you, but ONLY with your permission)
SharalethSharaleth

2010/5/23

The game already stops when you hit 3. Might be a bit low of a number, but it's there. =P I'd be satisfied with 2 player, whenever you get around to it. You would have to switch over to keyboard controls though, to make it fair.
Paggos_IchorPaggos_Ichor

2010/5/23

@Laurelinad Thank you. I still hope to make it better once i learn to set the fonts for the score and maybe some background music. @ potus2037 i will make it two player in a few days and raise the score,. as far as color i was keeping it simple so it would be "retro" lloking back on it now i should have inverted the colors. i think im going to change the most of the gui, add two player, background song if anyone wants it, fix the score problem(wich technically is players not mine i warned you all in the summery) if anybody wants anything else let me know.
SharalethSharaleth

2010/5/23

Look at the source code I gave you to figure out how to do font and color on text. =) The three requirements are importing Java.awt.Font, creating a new Font object reference ( Font variableName = new Font("Serif", CENTER_BASELINE, 20); for example. ] and then calling the setFont() method in the instantiated world, so if your world name is myWorld, then myWorld.setFont(variableName); . From then on, it's all good and you just have to use stuff like myWorld.drawString("Hi!"); , if I remember correctly.
MathManiacMathManiac

2010/5/31

I've beat the opponent 25 times in a row! =D
321yan321321yan321

2010/6/26

Awesome game Thanks a lot Paggos *****(5 stars).
Paggos_IchorPaggos_Ichor

2010/7/23

If anyone wants I can make a how to video.
devilkingx2devilkingx2

2010/7/28

yes please do make a tutorial i've gotta know how to do this masterpiece(as far as pongs concerned) PROTIP: hit the ball from above or below(depending on whether your nearer to the ceiling or floor it will bounce the ball off the floor/ceiling) which will cause it to ricochet(if done right) 95% of the time the computer cant dodge this( though if you fail and miss you lose and he gets a point but its better than not doing that
Paggos_IchorPaggos_Ichor

2010/7/30

Alright give me a few days to remake and make sure i have everything right and then i will make the video.
Best. Game. Ever. Period.
NikNik

2019/1/17

Hey! nice game . But my only complaint is that that the bot is bery bad and he needs to be good
Dumbcow1605Dumbcow1605

2019/1/17

Very nice ;)
phipsi21phipsi21

2019/10/30

How can i download it? Because when i press the Button Open in Greenfoot i Always have an pong.gfar file? In Which tool i can open this file?
nolttr21nolttr21

2019/10/30

I you have Greenfoot installed on your computer, you can just double click to open it. You can download Greenfoot from here, https://www.greenfoot.org/download
phipsi21phipsi21

2019/10/30

oh now i it's going thanks